Index: trunk/phase3/includes/api/ApiLogin.php |
— | — | @@ -87,14 +87,12 @@ |
88 | 88 | $result['lgusername'] = $wgUser->getName(); |
89 | 89 | $result['lgtoken'] = $wgUser->getToken(); |
90 | 90 | $result['cookieprefix'] = $wgCookiePrefix; |
91 | | - $result['sessionid'] = session_id(); |
92 | 91 | break; |
93 | 92 | |
94 | 93 | case LoginForm::NEED_TOKEN: |
95 | 94 | $result['result'] = 'NeedToken'; |
96 | 95 | $result['token'] = $loginForm->getLoginToken(); |
97 | 96 | $result['cookieprefix'] = $wgCookiePrefix; |
98 | | - $result['sessionid'] = session_id(); |
99 | 97 | break; |
100 | 98 | |
101 | 99 | case LoginForm::WRONG_TOKEN: |