Differential D14057 Diff 33992 src/applications/config/option/PhabricatorAuthenticationConfigOptions.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/option/PhabricatorAuthenticationConfigOptions.php
Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | return array( | ||||
"new email addresses for these domains. If you configure this, ". | "new email addresses for these domains. If you configure this, ". | ||||
"it implies {{auth.require-email-verification}}.\n\n". | "it implies {{auth.require-email-verification}}.\n\n". | ||||
"You should omit the `@` from domains. Note that the domain must ". | "You should omit the `@` from domains. Note that the domain must ". | ||||
"match exactly. If you allow `yourcompany.com`, that permits ". | "match exactly. If you allow `yourcompany.com`, that permits ". | ||||
"`joe@yourcompany.com` but rejects `joe@mail.yourcompany.com`.")) | "`joe@yourcompany.com` but rejects `joe@mail.yourcompany.com`.")) | ||||
->addExample( | ->addExample( | ||||
"yourcompany.com\nmail.yourcompany.com", | "yourcompany.com\nmail.yourcompany.com", | ||||
pht('Valid Setting')), | pht('Valid Setting')), | ||||
$this->newOption('auth.login-message', 'string', null) | |||||
->setLocked(true) | |||||
->setSummary(pht('A block of HTML displayed on the login screen.')) | |||||
->setDescription( | |||||
pht( | |||||
"You can provide an arbitrary block of HTML here, which will ". | |||||
"appear on the login screen. Normally, you'd use this to provide ". | |||||
"login or registration instructions to users.")), | |||||
$this->newOption('account.editable', 'bool', true) | $this->newOption('account.editable', 'bool', true) | ||||
->setBoolOptions( | ->setBoolOptions( | ||||
array( | array( | ||||
pht('Allow editing'), | pht('Allow editing'), | ||||
pht('Prevent editing'), | pht('Prevent editing'), | ||||
)) | )) | ||||
->setSummary( | ->setSummary( | ||||
pht( | pht( | ||||
Show All 18 Lines |