Differential D14073 Diff 34741 src/applications/auth/controller/config/PhabricatorAuthListController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/controller/config/PhabricatorAuthListController.php
Show First 20 Lines • Show All 103 Lines • ▼ Show 20 Lines | public function processRequest() { | ||||
$issues = array(); | $issues = array(); | ||||
if ($domains_value) { | if ($domains_value) { | ||||
$issues[] = pht( | $issues[] = pht( | ||||
'Phabricator is configured with an email domain whitelist (in %s), so '. | 'Phabricator is configured with an email domain whitelist (in %s), so '. | ||||
'only users with a verified email address at one of these %s '. | 'only users with a verified email address at one of these %s '. | ||||
'allowed domain(s) will be able to register an account: %s', | 'allowed domain(s) will be able to register an account: %s', | ||||
$domains_link, | $domains_link, | ||||
new PhutilNumber(count($domains_value)), | phutil_count($domains_value), | ||||
phutil_tag('strong', array(), implode(', ', $domains_value))); | phutil_tag('strong', array(), implode(', ', $domains_value))); | ||||
} else { | } else { | ||||
$issues[] = pht( | $issues[] = pht( | ||||
'Anyone who can browse to this Phabricator install will be able to '. | 'Anyone who can browse to this Phabricator install will be able to '. | ||||
'register an account. To add email domain restrictions, configure '. | 'register an account. To add email domain restrictions, configure '. | ||||
'%s.', | '%s.', | ||||
$domains_link); | $domains_link); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 70 Lines • Show Last 20 Lines |