Merge pull request #640 from metamaps/fix/password-reset-error
fix password reset error
This commit is contained in:
commit
b13ebc6716
1 changed files with 7 additions and 3 deletions
|
@ -1,7 +1,11 @@
|
||||||
class Users::PasswordsController < Devise::PasswordsController
|
class Users::PasswordsController < Devise::PasswordsController
|
||||||
protected
|
protected
|
||||||
|
|
||||||
def after_resetting_password_path_for(resource)
|
def after_resetting_password_path_for(resource)
|
||||||
signed_in_root_path(resource)
|
signed_in_root_path(resource)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def after_sending_reset_password_instructions_path_for(resource_name)
|
||||||
|
new_user_session_path if is_navigational_format?
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue