summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2013-07-31 18:41:02 +0200
committerChristopher Smith <chris@jalakai.co.uk>2013-08-01 11:11:53 +0200
commit4eb3462fac9bb0d739d48a98bba6a21c6a727e3b (patch)
treeb0f25bceaad26361d49fcfec1c1cceca852a2d57
parent4ca5544873b7682dd9e905ad9d0028bf9bcddd5c (diff)
downloadrpg-4eb3462fac9bb0d739d48a98bba6a21c6a727e3b.tar.gz
rpg-4eb3462fac9bb0d739d48a98bba6a21c6a727e3b.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)
-rw-r--r--inc/auth.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/auth.php b/inc/auth.php
index 96b80e19e..a1c92ec80 100644
--- a/inc/auth.php
+++ b/inc/auth.php
@@ -1024,7 +1024,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;
}
}