Add debug log item for r42040
This commit is contained in:
parent
0cc2da39da
commit
588e9233b5
1 changed files with 2 additions and 0 deletions
|
|
@ -805,6 +805,8 @@ class User {
|
|||
$sId = intval( $_COOKIE["{$wgCookiePrefix}UserID"] );
|
||||
if( isset( $_SESSION['wsUserID'] ) && $sId != $_SESSION['wsUserID'] ) {
|
||||
$this->loadDefaults(); // Possible collision!
|
||||
wfDebugLog( 'loginSessions', "Session user ID ({$_SESSION['wsUserID']}) and
|
||||
cookie user ID ($sId) don't match!" );
|
||||
return false;
|
||||
}
|
||||
$_SESSION['wsUserID'] = $sId;
|
||||
|
|
|
|||
Loading…
Reference in a new issue