make password change by user work again with cookie login (broke in revision 10120)
This commit is contained in:
@@ -59,7 +59,7 @@ if (isset($nopass)) {
|
|||||||
// Duration = till the browser is closed for password (we don't want this to be saved)
|
// Duration = till the browser is closed for password (we don't want this to be saved)
|
||||||
if ($cfg['Server']['auth_type'] == 'cookie') {
|
if ($cfg['Server']['auth_type'] == 'cookie') {
|
||||||
|
|
||||||
PMA_setCookie('pmaPass-' . $server, PMA_blowfish_encrypt($pma_pw, $GLOBALS['cfg']['blowfish_secret'] . $GLOBALS['current_time']));
|
PMA_setCookie('pmaPass-' . $server, PMA_blowfish_encrypt($pma_pw, $GLOBALS['cfg']['blowfish_secret']));
|
||||||
|
|
||||||
} // end if
|
} // end if
|
||||||
// For http auth. mode, the "back" link will also enforce new
|
// For http auth. mode, the "back" link will also enforce new
|
||||||
|
Reference in New Issue
Block a user