diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2013-07-31 18:41:02 +0200 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2013-07-31 18:41:02 +0200 |
commit | 71422fc898ea54876cd58c3bf5c4c0d9de032b52 (patch) | |
tree | 2268e9bd8b19b2deb1e4677e5b3f868600231461 /inc/auth.php | |
parent | 3b1338fffdb38ad47f7d814bc8d61b2f06305d69 (diff) | |
download | rpg-71422fc898ea54876cd58c3bf5c4c0d9de032b52.tar.gz rpg-71422fc898ea54876cd58c3bf5c4c0d9de032b52.tar.bz2 |
Change error message shown for incorrect current password on update profile form.
The current message confusingly mentions bad 'username' when username is not involved. The
new message is the same as that introduced for an incorrect current password on the self
delete profile form (FS#2751)
Diffstat (limited to 'inc/auth.php')
-rw-r--r-- | inc/auth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/auth.php b/inc/auth.php index 537d44c01..29ef46d03 100644 --- a/inc/auth.php +++ b/inc/auth.php @@ -883,7 +883,7 @@ function updateprofile() { if($conf['profileconfirm']) { if(!$auth->checkPass($_SERVER['REMOTE_USER'], $INPUT->post->str('oldpass'))) { - msg($lang['badlogin'], -1); + msg($lang['badpassconfirm'], -1); return false; } } |