Class: Autho::Authentication
- Inherits:
-
Object
- Object
- Autho::Authentication
- Defined in:
- lib/autho/authentication.rb
Instance Method Summary collapse
Instance Method Details
#user ⇒ Object
8 9 10 11 |
# File 'lib/autho/authentication.rb', line 8 def user user = finder.find_by_email(email) user && authenticate(user, password) end |