Page MenuHomePhabricator

Allow "bin/auth recover" to succeed before phabricator.base-uri is set
ClosedPublic

Authored by epriestley on Nov 20 2013, 5:29 PM.
Tags
None
Referenced Files
F18575827: D7615.diff
Wed, Sep 10, 2:23 PM
F17891450: D7615.id17188.diff
Jul 29 2025, 3:57 AM
F17805243: D7615.id.diff
Jul 25 2025, 12:21 PM
F17803860: D7615.id17187.diff
Jul 25 2025, 10:42 AM
F17763595: D7615.diff
Jul 22 2025, 11:36 PM
Unknown Object (File)
May 10 2025, 9:14 AM
Unknown Object (File)
Apr 8 2025, 8:28 AM
Unknown Object (File)
Mar 18 2025, 8:21 AM
Subscribers

Details

Summary

Fixes T4132. If you run "bin/auth recover" before setting the base URI, it throws when trying to generate a production URI.

Instead, just show the path. We can't figure out the domain, and I think this is less confusing than showing "your.phabricator.example.com", etc.

Test Plan

Ran bin/auth recover <user> for valid and missing base-uri.

Diff Detail

Branch
authrecover
Lint
Lint Passed
Unit
Tests Passed