dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a4968a
)
Fix API login after I7c957e1e
author
Brad Jorsch
<bjorsch@wikimedia.org>
Fri, 2 May 2014 14:09:40 +0000
(10:09 -0400)
committer
Brad Jorsch
<bjorsch@wikimedia.org>
Fri, 2 May 2014 14:09:40 +0000
(10:09 -0400)
Prior to change I7c957e1e, API logins were done as if the "keep me
logged in" checkbox was checked. That change altered this for no
apparent reason.
Bug: 64727
Change-Id: I7fcca2a1eabcac3b2c232cd05d9989af85cc3ed0
includes/api/ApiLogin.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiLogin.php
b/includes/api/ApiLogin.php
index
f2a9d1a
..
46e2a53
100644
(file)
--- a/
includes/api/ApiLogin.php
+++ b/
includes/api/ApiLogin.php
@@
-86,7
+86,7
@@
class ApiLogin extends ApiBase {
case LoginForm::SUCCESS:
$user = $context->getUser();
$this->getContext()->setUser( $user );
- $user->setCookies( $this->getRequest() );
+ $user->setCookies( $this->getRequest()
, null, true
);
ApiQueryInfo::resetTokenCache();