Skip to content

Commit d4e2638

Browse files
Update flash message on Passwords#update.
Issues ------ - Closes #45
1 parent 4dbb985 commit d4e2638

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/passwords_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def update
3535
elsif @user.password_reset_token_has_expired?
3636
redirect_to new_password_path, alert: "Incorrect email or password."
3737
elsif @user.update(password_params)
38-
redirect_to login_path, notice: "Signed in."
38+
redirect_to login_path, notice: "Password updated."
3939
else
4040
flash.now[:alert] = @user.errors.full_messages.to_sentence
4141
render :edit

0 commit comments

Comments
 (0)