Page MenuHomePhabricator

During first-time setup, create an administrator account with no authentication instead of weird, detached authentication
ClosedPublic

Authored by epriestley on Feb 6 2019, 11:33 PM.
Tags
None
Referenced Files
F18774344: D20111.id48020.diff
Fri, Oct 10, 2:30 AM
F18752539: D20111.id48127.diff
Sat, Oct 4, 3:38 PM
F18742623: D20111.id.diff
Thu, Oct 2, 8:43 PM
F18735426: D20111.diff
Wed, Oct 1, 1:34 AM
F18634678: D20111.diff
Sep 16 2025, 11:18 PM
F18586333: D20111.id.diff
Sep 11 2025, 6:18 PM
F18586298: D20111.diff
Sep 11 2025, 6:11 PM
F18585597: D20111.id.diff
Sep 11 2025, 3:53 PM
Subscribers

Details

Summary

Ref T6703. Currently, when you create an account on a new install, we prompt you to select a password.

You can't actually use that password unless you set up a password provider, and that password can't be associated with a provider since a password provider won't exist yet.

Instead, just don't ask for a password: create an account with a username and an email address only. Setup guidance points you toward Auth.

If you lose the session, you can send yourself an email link (if email works yet) or bin/auth recover it. This isn't really much different than the pre-change behavior, since you can't use the password you set anyway until you configure password auth.

This also makes fixing T9512 more important, which I'll do in a followup. I also plan to add slightly better guideposts toward Auth.

Test Plan

Hit first-time setup, created an account.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable