r23434 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23433‎ | r23434 | r23435 >
Date:20:40, 26 June 2007
Author:tstarling
Status:old
Tags:
Comment:
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.
Modified paths:
  • /trunk/phase3/includes/User.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/User.php
@@ -725,6 +725,7 @@
726726 }
727727
728728 if ( ( $sName == $this->mName ) && $passwordCorrect ) {
 729+ $_SESSION['wsToken'] = $this->mToken;
729730 wfDebug( "Logged in from $from\n" );
730731 return true;
731732 } else {

Follow-up revisions

RevisionCommit summaryAuthorDate
r23581Merged revisions 23406-23580 via svnmerge from...david04:50, 30 June 2007

Status & tagging log