Differential D7426 Diff 16753 src/applications/config/option/PhabricatorAuthenticationConfigOptions.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/option/PhabricatorAuthenticationConfigOptions.php
| Show All 23 Lines | public function getOptions() { | ||||
| $this->newOption('auth.sessions.conduit', 'int', 5) | $this->newOption('auth.sessions.conduit', 'int', 5) | ||||
| ->setSummary( | ->setSummary( | ||||
| pht( | pht( | ||||
| "Number of simultaneous Conduit sessions each user is permitted.")) | "Number of simultaneous Conduit sessions each user is permitted.")) | ||||
| ->setDescription( | ->setDescription( | ||||
| pht( | pht( | ||||
| "Maximum number of simultaneous Conduit sessions each user is ". | "Maximum number of simultaneous Conduit sessions each user is ". | ||||
| "permitted to have.")), | "permitted to have.")), | ||||
| $this->newOption('auth.sshkeys.enabled', 'bool', false) | |||||
| ->setBoolOptions( | |||||
| array( | |||||
| pht("Enable SSH key storage"), | |||||
| pht("Disable SSH key storage"))) | |||||
| ->setSummary( | |||||
| pht("Allow users to associate SSH keys with their accounts.")) | |||||
| ->setDescription( | |||||
| pht( | |||||
| "Set this true to enable the Settings -> SSH Public Keys panel, ". | |||||
| "which will allow users to associated SSH public keys with their ". | |||||
| "accounts. This is only really useful if you're setting up ". | |||||
| "services over SSH and want to use Phabricator for ". | |||||
| "authentication; in most situations you can leave this ". | |||||
| "disabled.")), | |||||
| $this->newOption('auth.require-email-verification', 'bool', false) | $this->newOption('auth.require-email-verification', 'bool', false) | ||||
| ->setBoolOptions( | ->setBoolOptions( | ||||
| array( | array( | ||||
| pht("Require email verification"), | pht("Require email verification"), | ||||
| pht("Don't require email verification") | pht("Don't require email verification") | ||||
| )) | )) | ||||
| ->setSummary( | ->setSummary( | ||||
| pht("Require email verification before a user can log in.")) | pht("Require email verification before a user can log in.")) | ||||
| ▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines | |||||