Differential D16020 Diff 38572 src/applications/settings/panel/PhabricatorMultiFactorSettingsPanel.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/panel/PhabricatorMultiFactorSettingsPanel.php
| <?php | <?php | ||||
| final class PhabricatorMultiFactorSettingsPanel | final class PhabricatorMultiFactorSettingsPanel | ||||
| extends PhabricatorSettingsPanel { | extends PhabricatorSettingsPanel { | ||||
| public function getPanelKey() { | public function getPanelKey() { | ||||
| return 'multifactor'; | return 'multifactor'; | ||||
| } | } | ||||
| public function getPanelName() { | public function getPanelName() { | ||||
| return pht('Multi-Factor Auth'); | return pht('Multi-Factor Auth'); | ||||
| } | } | ||||
| public function getPanelGroup() { | public function getPanelGroupKey() { | ||||
| return pht('Authentication'); | return PhabricatorSettingsAuthenticationPanelGroup::PANELGROUPKEY; | ||||
| } | } | ||||
| public function processRequest(AphrontRequest $request) { | public function processRequest(AphrontRequest $request) { | ||||
| if ($request->getExists('new')) { | if ($request->getExists('new')) { | ||||
| return $this->processNew($request); | return $this->processNew($request); | ||||
| } | } | ||||
| if ($request->getExists('edit')) { | if ($request->getExists('edit')) { | ||||
| ▲ Show 20 Lines • Show All 302 Lines • Show Last 20 Lines | |||||