r67787 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r67786‎ | r67787 | r67788 >
Date:08:37, 10 June 2010
Author:ialex
Status:deferred
Tags:
Comment:
Fix for r67785: let the user log in when attaching its OpenID to an existing account :)
Modified paths:
  • /trunk/extensions/OpenID/SpecialOpenIDLogin.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/OpenID/SpecialOpenIDLogin.body.php
@@ -373,7 +373,11 @@
374374 $force[] = $option;
375375 }
376376 }
 377+
377378 $this->updateUser( $user, $sreg, $ax );
 379+
 380+ $wgUser = $user;
 381+
378382 } else {
379383 $name = $this->getUserName( $openid, $sreg, $ax, $choice, $nameValue );
380384

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r67785Set $wgUser to the new user before calling addNewUserLogEntry() since this me...ialex08:30, 10 June 2010

Status & tagging log