Page MenuHomePhabricator

Allow users to unlink their last external account with a warning, instead of preventing the action
ClosedPublic

Authored by epriestley on Feb 6 2019, 4:20 PM.
Tags
None
Referenced Files
F13522729: D20106.id48029.diff
Fri, Jul 26, 7:23 AM
Unknown Object (File)
Wed, Jul 24, 3:10 AM
Unknown Object (File)
Tue, Jul 23, 6:11 AM
Unknown Object (File)
Mon, Jul 22, 2:38 PM
Unknown Object (File)
Mon, Jul 22, 10:06 AM
Unknown Object (File)
Fri, Jul 19, 8:02 AM
Unknown Object (File)
Tue, Jul 16, 3:35 AM
Unknown Object (File)
Wed, Jul 10, 10:33 AM
Subscribers
None

Details

Summary

Depends on D20105. Fixes T7732. T7732 describes a case where a user had their Google credentials swapped and had trouble regaining access to their account.

Since we now allow email login even if password auth is disabled, it's okay to let users unlink their final account, and it's even reasonable for users to unlink their final account if it is mis-linked.

Just give them a warning that what they're doing is a little sketchy, rather than preventing the workflow.

Test Plan

Unlinked my only login account, got a stern warning instead of a dead end.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable