diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-08-05 18:04:20 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-08-05 18:04:20 +0000 |
commit | fbffe332e2a33b9d419d02177b7f8779821a65e5 (patch) | |
tree | 953493ace25cc7eaf9c0608838af01f3910aa5f0 /app/controllers/my_controller.rb | |
parent | fa51c8601dda0882ae5fcd809b14553ead186646 (diff) | |
download | redmine-fbffe332e2a33b9d419d02177b7f8779821a65e5.tar.gz redmine-fbffe332e2a33b9d419d02177b7f8779821a65e5.zip |
Removed hardcoded string (#3872).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12083 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/my_controller.rb')
-rw-r--r-- | app/controllers/my_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/my_controller.rb b/app/controllers/my_controller.rb index 82532918a..679aee38c 100644 --- a/app/controllers/my_controller.rb +++ b/app/controllers/my_controller.rb @@ -95,7 +95,7 @@ class MyController < ApplicationController if !@user.check_password?(params[:password]) flash.now[:error] = l(:notice_account_wrong_password) elsif params[:password] == params[:new_password] - flash.now[:error] = 'Your new password must be different from your current password' + flash.now[:error] = l(:notice_new_password_must_be_different) else @user.password, @user.password_confirmation = params[:new_password], params[:new_password_confirmation] @user.must_change_passwd = false |