From cfe8c7dc40b5a34b7def90dcc07b83a76f13522b Mon Sep 17 00:00:00 2001 From: jomo Date: Tue, 17 Jun 2014 23:50:16 +0200 Subject: [PATCH] tell users to generate a new token when reset failed --- app/controllers/users_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 1992d56..859dbea 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -283,7 +283,7 @@ class UsersController < ApplicationController flash[:notice] = "Password reset" redirect_to login_path else - flash[:alert] = "Failed to update password" + flash[:alert] = "Failed to update password, please generate a new Token!" render action: "lost_password" end else