Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2015-10-27 00:09:43 +0300
committerMadhura Jayaratne <madhura.cj@gmail.com>2015-10-27 00:09:43 +0300
commitdc5e057fe2e11e0b599eaf9dfbe48342abd61cb3 (patch)
treece046479fc6cb32eef04094b23b0626127767c9b /server_privileges.php
parent653d800a5b3a6efcfd6d682aaf5b735c176509eb (diff)
Fix #11607 Unable to change password from Login information tab - make the error message more explicit
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'server_privileges.php')
-rw-r--r--server_privileges.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/server_privileges.php b/server_privileges.php
index a08f159914..161da2ee1a 100644
--- a/server_privileges.php
+++ b/server_privileges.php
@@ -137,7 +137,13 @@ if (isset($_REQUEST['change_copy']) && $username == $_REQUEST['old_username']
&& $hostname == $_REQUEST['old_hostname']
) {
$response->addHTML(
- PMA_Message::error(__('Username and hostname didn\'t change.'))->getDisplay()
+ PMA_Message::error(
+ __(
+ "Username and hostname didn't change. "
+ . "If you only want to change the password, "
+ . "'Change password' tab should be used."
+ )
+ )->getDisplay()
);
$response->isSuccess(false);
exit;