Use a UNIX timestamp in the LoggedOut cookie
Since it is easier to interpret in VCL. The read side code strangely does not need to be updated, and MW will continue to work with cookies sent before this change, because wfTimestamp() automatically detects the timestamp format. Change-Id: I8c661b735b1de8e295d5d713a5ca959ee99e274e
This commit is contained in:
parent
e3e03f53ce
commit
afe2cb12d0
1 changed files with 1 additions and 1 deletions
|
|
@ -3146,7 +3146,7 @@ class User {
|
|||
$this->clearCookie( 'forceHTTPS' );
|
||||
|
||||
// Remember when user logged out, to prevent seeing cached pages
|
||||
$this->setCookie( 'LoggedOut', wfTimestampNow(), time() + 86400 );
|
||||
$this->setCookie( 'LoggedOut', time(), time() + 86400 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue