Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/panel/PhabricatorSettingsPanel.php
| Show First 20 Lines • Show All 192 Lines • ▼ Show 20 Lines | /* -( Panel Configuration )------------------------------------------------ */ | ||||
| * | * | ||||
| * @return bool True to allow editing in templates. | * @return bool True to allow editing in templates. | ||||
| * @task config | * @task config | ||||
| */ | */ | ||||
| public function isTemplatePanel() { | public function isTemplatePanel() { | ||||
| return false; | return false; | ||||
| } | } | ||||
| /** | |||||
| * Return true if this panel should be available when enrolling in MFA on | |||||
| * a new account with MFA requiredd. | |||||
| * | |||||
| * @return bool True to allow configuration during MFA enrollment. | |||||
| * @task config | |||||
| */ | |||||
| public function isMultiFactorEnrollmentPanel() { | |||||
| return false; | |||||
| } | |||||
| /* -( Panel Implementation )----------------------------------------------- */ | /* -( Panel Implementation )----------------------------------------------- */ | ||||
| /** | /** | ||||
| * Process a user request for this settings panel. Implement this method like | * Process a user request for this settings panel. Implement this method like | ||||
| * a lightweight controller. If you return an @{class:AphrontResponse}, the | * a lightweight controller. If you return an @{class:AphrontResponse}, the | ||||
| * response will be used in whole. If you return anything else, it will be | * response will be used in whole. If you return anything else, it will be | ||||
| ▲ Show 20 Lines • Show All 103 Lines • Show Last 20 Lines | |||||