From 7d29630f9bcfe78b7f0512f5b0a4da5e637a32ca Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 23 Jun 2007 21:48:22 +0000 Subject: [PATCH] make password change by user work again with cookie login (broke in revision 10120) --- user_password.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_password.php b/user_password.php index 7b9b89fe0..ed625936e 100644 --- a/user_password.php +++ b/user_password.php @@ -59,7 +59,7 @@ if (isset($nopass)) { // Duration = till the browser is closed for password (we don't want this to be saved) 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 // For http auth. mode, the "back" link will also enforce new