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
F14067488: D7615.diff
Tue, Nov 19, 3:15 PM
F14011668: D7615.id.diff
Fri, Nov 1, 4:22 AM
F14011667: D7615.id17187.diff
Fri, Nov 1, 4:21 AM
F14011633: D7615.diff
Fri, Nov 1, 3:59 AM
F14004654: D7615.id17187.diff
Sun, Oct 27, 12:35 AM
F13985756: D7615.diff
Oct 20 2024, 10:45 PM
F13965645: D7615.id.diff
Oct 16 2024, 3:21 AM
Unknown Object (File)
Sep 19 2024, 3:38 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