Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
fix bug in remind password
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyfrank committed Feb 15, 2013
1 parent 4f861b7 commit 047eab5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/controllers/web/account/passwords_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ def update
if @token && !@token.expired?
if @user.update_attributes(params[:user])
flash_success
redirect_to root_path
return redirect_to root_path
end
else
flash_error
render :edit
end

flash_error
render :edit
end

end

0 comments on commit 047eab5

Please sign in to comment.