r64695 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64694‎ | r64695 | r64696 >
Date:08:51, 7 April 2010
Author:catrope
Status:ok
Tags:
Comment:
1.16wmf3: MFT r64694
Modified paths:
  • /branches/wmf/1.16wmf3/includes/api/ApiLogin.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.16wmf3/includes/api/ApiLogin.php
@@ -91,8 +91,11 @@
9292 break;
9393
9494 case LoginForm::NEED_TOKEN:
 95+ global $wgCookiePrefix;
9596 $result['result'] = 'NeedToken';
9697 $result['token'] = $loginForm->getLoginToken();
 98+ $result['cookieprefix'] = $wgCookiePrefix;
 99+ $result['sessionid'] = session_id();
97100 break;
98101
99102 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