Anomie has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/294089

Change subject: Don't try to use the context language when auto-creating
......................................................................

Don't try to use the context language when auto-creating

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
---
M includes/auth/AuthManager.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/89/294089/1

diff --git a/includes/auth/AuthManager.php b/includes/auth/AuthManager.php
index 2ed0d61..7ca9c6a 100644
--- a/includes/auth/AuthManager.php
+++ b/includes/auth/AuthManager.php
@@ -1650,7 +1650,7 @@
                        throw $ex;
                }
 
-               $this->setDefaultUserOptions( $user, true );
+               $this->setDefaultUserOptions( $user, false );
 
                // Inform the providers
                $this->callMethodOnProviders( 6, 'autoCreatedAccount', [ $user, 
$source ] );

-- 
To view, visit https://gerrit.wikimedia.org/r/294089
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0376647be33e81593101378217b37363125cfddf
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Anomie <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to