From fb9a3a598ee9b59ace10f5874c62f2cd1c77ccdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 17 Nov 2006 08:49:30 +0000 Subject: Check before commit! --- user_password.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'user_password.php') diff --git a/user_password.php b/user_password.php index a17de2616f..c5feacd764 100644 --- a/user_password.php +++ b/user_password.php @@ -57,12 +57,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') { - setcookie('pma_cookie_password-' . $server, - PMA_blowfish_encrypt($pma_pw, - $GLOBALS['cfg']['blowfish_secret'] . $GLOBALS['current_time']), - 0, - $GLOBALS['cookie_path'], '', - $GLOBALS['is_https']); + PMA_setCookie('pma_cookie_password-' . $server, PMA_blowfish_encrypt($pma_pw, $GLOBALS['cfg']['blowfish_secret'] . $GLOBALS['current_time'])); } // end if // For http auth. mode, the "back" link will also enforce new -- cgit v1.2.3