diff options
author | Michal Čihař <michal@cihar.com> | 2006-11-17 11:49:30 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2006-11-17 11:49:30 +0300 |
commit | fb9a3a598ee9b59ace10f5874c62f2cd1c77ccdb (patch) | |
tree | ec8b2d44eaef0c2c138d5551976ae1ef6a681d6f /user_password.php | |
parent | f0780e312984f178baba99b54acdf6a2f9fadac9 (diff) |
Check before commit!
Diffstat (limited to 'user_password.php')
-rw-r--r-- | user_password.php | 7 |
1 files changed, 1 insertions, 6 deletions
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 |