Page MenuHomePhabricator

Allow to automatically unify on login absent clashes
Closed, ResolvedPublic

Description

If $wgCentralAuthAutoMigrate is set to true, when a user logs in and has no global account, in case all local accouns with same username match the email and/or password, create a global account and merge everything.

It was noted on https://meta.wikimedia.org/?oldid=9740729#RenameUser_announcement that this case is fairly frequent and not handled by $wgCentralAuthAutoMigrate yet. Bug 69291 should have taken care of all the unmerged accounts sharing email.

Example: https://tools.wmflabs.org/meta/stalktoy/Nemo+nonies , two local accounts with same password and no email set; I logged in for both and no global account was created.


Version: unspecified
Severity: enhancement

Details

Reference
bz70392

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:47 AM
bzimport set Reference to bz70392.

Change 158578 had a related patch set uploaded by Legoktm:
Auto-migrate matching accounts where no global account exists

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

Change 158578 merged by jenkins-bot:
Auto-migrate matching accounts where no global account exists

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

Patch was reverted due to bug 71223.

And now fixed again. Thanks Lego, Ori, Reedy.

Should reach all Wikipedias with 1.25wmf1 on Thursday, 2 October 2014 (with https://gerrit.wikimedia.org/r/#/c/162971/ ).