r64697 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64696‎ | r64697 | r64698 >
Date:09:05, 7 April 2010
Author:catrope
Status:ok
Tags:
Comment:
REL1_16: Backport r64694
Modified paths:
  • /branches/REL1_16/phase3/includes/api/ApiLogin.php (modified) (history)

Diff [purge]

Index: branches/REL1_16/phase3/includes/api/ApiLogin.php
@@ -89,8 +89,11 @@
9090 break;
9191
9292 case LoginForm::NEED_TOKEN:
 93+ global $wgCookiePrefix;
9394 $result['result'] = 'NeedToken';
9495 $result['token'] = $loginForm->getLoginToken();
 96+ $result['cookieprefix'] = $wgCookiePrefix;
 97+ $result['sessionid'] = session_id();
9598 break;
9699
97100 case LoginForm::WRONG_TOKEN:

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r64694Fix for r64677: as reported on mediawiki-api, I forgot about clients that bui...catrope08:50, 7 April 2010

Status & tagging log