make password change by user work again with cookie login (broke in revision 10120)

This commit is contained in:
Marc Delisle
2007-06-23 21:48:22 +00:00
parent 0c03c102b0
commit 7d29630f9b

View File

@@ -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