Class: Refinery::SessionsController
- Inherits:
-
Devise::SessionsController
- Object
- Devise::SessionsController
- Refinery::SessionsController
- Defined in:
- authentication/app/controllers/refinery/sessions_controller.rb
Instance Method Summary (collapse)
Instance Method Details
- (Object) create
8 9 10 11 12 13 |
# File 'authentication/app/controllers/refinery/sessions_controller.rb', line 8 def create super rescue ::BCrypt::Errors::InvalidSalt, ::BCrypt::Errors::InvalidHash flash[:error] = t('password_encryption', :scope => 'refinery.users.forgot') redirect_to refinery.new_refinery_user_password_path end |