Sha256: 5f474d5682416caca066b3afee15718cf73a9dc37b0b1cff268e4e21ea670855
Contents?: true
Size: 258 Bytes
Versions: 1
Compression:
Stored size: 258 Bytes
Contents
module Tramway::Auth class SessionForm < ::Tramway::Core::ApplicationForm properties :email attr_accessor :password def model_name User end def validate(params) self.model.authenticate params[:password] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tramway-auth-1.0 | app/forms/tramway/auth/session_form.rb |