We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dbb985 commit d4e2638Copy full SHA for d4e2638
app/controllers/passwords_controller.rb
@@ -35,7 +35,7 @@ def update
35
elsif @user.password_reset_token_has_expired?
36
redirect_to new_password_path, alert: "Incorrect email or password."
37
elsif @user.update(password_params)
38
- redirect_to login_path, notice: "Signed in."
+ redirect_to login_path, notice: "Password updated."
39
else
40
flash.now[:alert] = @user.errors.full_messages.to_sentence
41
render :edit
0 commit comments