Removed hardcoded string (#3872).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12083 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2013-08-05 18:04:20 +00:00
parent fa51c8601d
commit fbffe332e2
49 changed files with 95 additions and 1 deletions
+1 -1
View File
@@ -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