Browse files

Redirect to root after resetting pass

  • Loading branch information...
1 parent 54e535b commit 402c654e1922d38f7ccfe93d02c44a56391182c3 @nateberkopec nateberkopec committed Mar 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 auth/app/controllers/user_passwords_controller.rb
View
2 auth/app/controllers/user_passwords_controller.rb
@@ -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

0 comments on commit 402c654

Please sign in to comment.