Differential D17317 Diff 41647 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 78 Lines • ▼ Show 20 Lines | return array( | ||||
pht('Allow editing'), | pht('Allow editing'), | ||||
pht('Prevent editing'), | pht('Prevent editing'), | ||||
)) | )) | ||||
->setSummary( | ->setSummary( | ||||
pht( | pht( | ||||
'Determines whether or not basic account information is editable.')) | 'Determines whether or not basic account information is editable.')) | ||||
->setDescription( | ->setDescription( | ||||
pht( | pht( | ||||
'Is basic account information (email, real name, profile '. | 'This option controls whether users can edit account email '. | ||||
'picture) editable? If you set up Phabricator to automatically '. | 'addresses and profile real names.'. | ||||
'synchronize account information from some other authoritative '. | "\n\n". | ||||
'system, you can disable this to ensure information remains '. | 'If you set up Phabricator to automatically synchronize account '. | ||||
'consistent across both systems.')), | 'information from some other authoritative system, you can '. | ||||
'prevent users from making these edits to ensure information '. | |||||
'remains consistent across both systems.')), | |||||
$this->newOption('account.minimum-password-length', 'int', 8) | $this->newOption('account.minimum-password-length', 'int', 8) | ||||
->setSummary(pht('Minimum password length.')) | ->setSummary(pht('Minimum password length.')) | ||||
->setDescription( | ->setDescription( | ||||
pht( | pht( | ||||
'When users set or reset a password, it must have at least this '. | 'When users set or reset a password, it must have at least this '. | ||||
'many characters.')), | 'many characters.')), | ||||
); | ); | ||||
} | } | ||||
} | } |