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:
authorMichal Čihař <michal@cihar.com>2016-08-02 09:32:59 +0300
committerMichal Čihař <michal@cihar.com>2016-08-02 09:32:59 +0300
commitcdcf74ab0bde94d9be5aa29169b2c8ed8141103d (patch)
tree44c9e43281f51aaf4c5e7c348b90ab62424a8434 /user_password.php
parent319c7a824712edf7a0de8c4c3e1683ab38d71773 (diff)
Fixed password change on MariaDB without auth plugin
Fixes #12424 Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'user_password.php')
-rw-r--r--user_password.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/user_password.php b/user_password.php
index 6404623695..20051110ae 100644
--- a/user_password.php
+++ b/user_password.php
@@ -237,6 +237,7 @@ function PMA_changePassUrlParamsAndSubmitQuery(
} else if ($serverType == 'MariaDB'
&& PMA_MYSQL_INT_VERSION >= 50200
&& PMA_MYSQL_INT_VERSION < 100100
+ && $orig_auth_plugin !== ''
) {
if ($orig_auth_plugin == 'mysql_native_password') {
// Set the hashing method used by PASSWORD()