diff options
Diffstat (limited to 'user_password.php')
-rw-r--r-- | user_password.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/user_password.php b/user_password.php index d7b8cc03e5..a9e21827b3 100644 --- a/user_password.php +++ b/user_password.php @@ -175,14 +175,14 @@ function PMA_changePassAuthType($_url_params, $password) * Changes password cookie if required * Duration = till the browser is closed for password (we don't want this to be saved) */ - if ($cfg['Server']['auth_type'] == 'cookie') { + if ($GLOBALS['cfg']['Server']['auth_type'] == 'cookie') { $GLOBALS['PMA_Config']->setCookie('pmaPass-' . $server, PMA_blowfish_encrypt($password, $GLOBALS['cfg']['blowfish_secret'])); } /** * For http auth. mode, the "back" link will also enforce new * authentication */ - if ($cfg['Server']['auth_type'] == 'http') { + if ($GLOBALS['cfg']['Server']['auth_type'] == 'http') { $_url_params['old_usr'] = 'relog'; } return $_url_params; |