Differential D20400 Diff 48752 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 79 Lines • ▼ Show 20 Lines | return array( | ||||
pht('Auth provider config can be edited without unlocking'), | pht('Auth provider config can be edited without unlocking'), | ||||
)) | )) | ||||
->setSummary( | ->setSummary( | ||||
pht( | pht( | ||||
'Require administrators to unlock the authentication provider '. | 'Require administrators to unlock the authentication provider '. | ||||
'configuration from the CLI before it can be edited.')) | 'configuration from the CLI before it can be edited.')) | ||||
->setDescription( | ->setDescription( | ||||
pht( | pht( | ||||
'Normally, administrators configure authentication providers only '. | 'When set to `true`, the authentication provider configuration '. | ||||
'once, immediately after instance creation. To further secure '. | 'for this instance can not be modified without first running '. | ||||
'your instance, you can set this configuration option to `true`, '. | '`bin/auth unlock` from the command line. This is to reduce '. | ||||
'which will require an adminstrator with CLI access to run '. | 'the security impact of a compromised administrator account. '. | ||||
'`bin/auth unlock` to make any later changes to authentication '. | "\n\n". | ||||
"provider configuration.\n\nAfter changing the config, you should ". | 'After running `bin/auth unlock` and making your changes to the '. | ||||
'run `bin/auth lock` again from the CLI.')) | 'authentication provider config, you should run `bin/auth lock`.')) | ||||
epriestley: Missing space after "to". | |||||
->setLocked(true), | ->setLocked(true), | ||||
$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( | ||||
Show All 21 Lines |
Missing space after "to".