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
Unknown Object (File)
Sat, Aug 31, 2:48 PM
Unknown Object (File)
Sat, Aug 31, 4:56 AM
Unknown Object (File)
Fri, Aug 30, 2:53 AM
Unknown Object (File)
Sun, Aug 18, 11:02 AM
Unknown Object (File)
Aug 4 2024, 9:50 AM
Unknown Object (File)
Aug 4 2024, 1:51 AM
Unknown Object (File)
Aug 1 2024, 10:47 PM
Unknown Object (File)
Aug 1 2024, 10:43 PM
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