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-07-31 18:41:02 +0200
commit71422fc898ea54876cd58c3bf5c4c0d9de032b52 (patch)
tree2268e9bd8b19b2deb1e4677e5b3f868600231461
parent3b1338fffdb38ad47f7d814bc8d61b2f06305d69 (diff)
downloadrpg-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)
-rw-r--r--inc/auth.php2
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;
}
}