fix password reset error
This commit is contained in:
parent
61465ff148
commit
4723c62b20
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