You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-31 10:54:46 +03:00
Merge branch 'QA_4_6'
This commit is contained in:
@@ -471,7 +471,11 @@ class AuthenticationCookie extends AuthenticationPlugin
|
||||
$this->storeUsernameCookie($cfg['Server']['user']);
|
||||
|
||||
// Duration = as configured
|
||||
$this->storePasswordCookie($cfg['Server']['password']);
|
||||
// Do not store password cookie on password change as we will
|
||||
// set the cookie again after password has been changed
|
||||
if (! isset($_POST['change_pw'])) {
|
||||
$this->storePasswordCookie($cfg['Server']['password']);
|
||||
}
|
||||
|
||||
// Set server cookies if required (once per session) and, in this case,
|
||||
// force reload to ensure the client accepts cookies
|
||||
|
||||
Reference in New Issue
Block a user