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
F15404587: D7615.id17188.diff
Tue, Mar 18, 8:21 AM
F15402305: D7615.id17188.diff
Mon, Mar 17, 9:51 PM
F15338738: D7615.diff
Sun, Mar 9, 12:32 PM
Unknown Object (File)
Mar 1 2025, 5:29 PM
Unknown Object (File)
Mar 1 2025, 5:29 PM
Unknown Object (File)
Feb 24 2025, 9:37 PM
Unknown Object (File)
Feb 24 2025, 9:21 PM
Unknown Object (File)
Feb 9 2025, 10:37 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

Lint
Lint Skipped
Unit
Tests Skipped