From 47cf9cbe6395404834d12c6717cdebd101931eef Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Tue, 26 Jun 2007 20:40:02 +0000 Subject: [PATCH] When you log in from cookie, make the session valid for login as well. Not sure what the point of it is otherwise. Necessary for BoardVote session transfer stuff. --- includes/User.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/User.php b/includes/User.php index 1b7b113125..259c83bb29 100644 --- a/includes/User.php +++ b/includes/User.php @@ -725,6 +725,7 @@ class User { } if ( ( $sName == $this->mName ) && $passwordCorrect ) { + $_SESSION['wsToken'] = $this->mToken; wfDebug( "Logged in from $from\n" ); return true; } else { -- 2.20.1