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:
be55f5c
)
Don't try to use the context language when auto-creating
author
Brad Jorsch
<bjorsch@wikimedia.org>
Mon, 13 Jun 2016 16:51:22 +0000
(12:51 -0400)
committer
Brad Jorsch
<bjorsch@wikimedia.org>
Mon, 13 Jun 2016 16:52:41 +0000
(12:52 -0400)
Most of the time the context language won't be ready yet, because it
needs the user we're auto-creating.
Bug: T124367
Change-Id: I0376647be33e81593101378217b37363125cfddf
includes/auth/AuthManager.php
patch
|
blob
|
history
diff --git
a/includes/auth/AuthManager.php
b/includes/auth/AuthManager.php
index
2ed0d61
..
7ca9c6a
100644
(file)
--- a/
includes/auth/AuthManager.php
+++ b/
includes/auth/AuthManager.php
@@
-1650,7
+1650,7
@@
class AuthManager implements LoggerAwareInterface {
throw $ex;
}
throw $ex;
}
- $this->setDefaultUserOptions( $user,
tru
e );
+ $this->setDefaultUserOptions( $user,
fals
e );
// Inform the providers
$this->callMethodOnProviders( 6, 'autoCreatedAccount', [ $user, $source ] );
// Inform the providers
$this->callMethodOnProviders( 6, 'autoCreatedAccount', [ $user, $source ] );