Set $sql_query as well when changing password
Issue #13737 Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
1eea0a1faf
commit
767761a828
@ -1913,7 +1913,7 @@ function PMA_updatePassword($err_url, $username, $hostname)
|
||||
. $GLOBALS['dbi']->escapeString($username)
|
||||
. "'@'" . $GLOBALS['dbi']->escapeString($hostname) . "'"
|
||||
. " = PASSWORD ('";
|
||||
$local_query = $query_prefix
|
||||
$sql_query = $local_query = $query_prefix
|
||||
. $GLOBALS['dbi']->escapeString($_POST['pma_pw']) . "')";
|
||||
} else if ($serverType == 'MariaDB'
|
||||
&& PMA_MYSQL_INT_VERSION >= 50200
|
||||
|
||||
Loading…
Reference in New Issue
Block a user