mirror of
https://github.com/VladPolskiy/dokuwiki.git
synced 2025-08-15 22:25:03 +00:00
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)
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user