Nemo bis has uploaded a new change for review.
https://gerrit.wikimedia.org/r/144416
Change subject: Safer comparison for emails
......................................................................
Safer comparison for emails
Change-Id: Iea1c546e180b1bbdb4ad7fc4e269d85f223b0f27
---
M maintenance/migrateAccount.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralAuth
refs/changes/16/144416/1
diff --git a/maintenance/migrateAccount.php b/maintenance/migrateAccount.php
index 48b101d..37068ce 100644
--- a/maintenance/migrateAccount.php
+++ b/maintenance/migrateAccount.php
@@ -114,7 +114,7 @@
){
foreach ( $unattached as $wiki => $local ) {
if (
- $central->getEmail() ==
$local['email']
+ $central->getEmail() ===
$local['email']
&& !is_null(
$local['emailAuthenticated'] )
){
$this->output( "ATTACHING:
$username@$wiki\n" );
--
To view, visit https://gerrit.wikimedia.org/r/144416
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iea1c546e180b1bbdb4ad7fc4e269d85f223b0f27
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Nemo bis <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits