dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(bug 30836) API siteinfo specialpagealiases should not return nonexistent special...
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiLogin.php
diff --git
a/includes/api/ApiLogin.php
b/includes/api/ApiLogin.php
index
0bdaa1b
..
2ad2653
100644
(file)
--- a/
includes/api/ApiLogin.php
+++ b/
includes/api/ApiLogin.php
@@
-79,6
+79,8
@@
class ApiLogin extends ApiBase {
$user->setOption( 'rememberpassword', 1 );
$user->setCookies( $this->getRequest() );
+ ApiQueryInfo::resetTokenCache();
+
// Run hooks.
// @todo FIXME: Split back and frontend from this hook.
// @todo FIXME: This hook should be placed in the backend