Check before commit!
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user