Skip to content

Commit

Permalink
Redirect to root after resetting pass
Browse files Browse the repository at this point in the history
  • Loading branch information
nateberkopec committed Mar 7, 2013
1 parent 54e535b commit 402c654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth/app/controllers/user_passwords_controller.rb
Expand Up @@ -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
Expand Down

0 comments on commit 402c654

Please sign in to comment.