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
Unknown Object (File)
Fri, Dec 20, 5:57 PM
Unknown Object (File)
Fri, Dec 13, 3:33 AM
Unknown Object (File)
Mon, Dec 9, 8:38 AM
Unknown Object (File)
Sun, Dec 8, 7:24 AM
Unknown Object (File)
Tue, Dec 3, 11:07 AM
Unknown Object (File)
Wed, Nov 27, 10:58 AM
Unknown Object (File)
Wed, Nov 27, 7:32 AM
Unknown Object (File)
Tue, Nov 26, 9:01 PM
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