Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Redirect to root after resetting pass

  • Loading branch information...
commit 402c654e1922d38f7ccfe93d02c44a56391182c3 1 parent 54e535b
Nate Berkopec nateberkopec authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  auth/app/controllers/user_passwords_controller.rb
2  auth/app/controllers/user_passwords_controller.rb
View
@@ -21,7 +21,7 @@ def create
if resource.errors.empty?
set_flash_message(:notice, :send_instructions) if is_navigational_format?
- redirect_to resource, :location => new_session_path(resource_name)
+ redirect_to root_url
else
render :new
end
Please sign in to comment.
Something went wrong with that request. Please try again.