Sha256: 4f4b8a5bcbe5e53d0b919b11dc2a69bdbd931f30ad0e15e89e12493c95055f1e
Contents?: true
Size: 398 Bytes
Versions: 7
Compression:
Stored size: 398 Bytes
Contents
class Welcome < View attr_reader :need_pass, :hide_pass def rpc_login( session, login_name, password ) person = Entities.Persons.match_by_login_name( login_name ) dputs( 3 ){ "Found login #{person.inspect} for #{login_name}" } if person and password == person.password then Sessions.create( person ) return person.to_hash else return nil end end end
Version data entries
7 entries across 7 versions & 1 rubygems