Differential D20006 Diff 47807 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 getPanelMenuIcon() { | |||||
return 'fa-lock'; | |||||
} | |||||
public function getPanelGroupKey() { | public function getPanelGroupKey() { | ||||
return PhabricatorSettingsAuthenticationPanelGroup::PANELGROUPKEY; | return PhabricatorSettingsAuthenticationPanelGroup::PANELGROUPKEY; | ||||
} | } | ||||
public function processRequest(AphrontRequest $request) { | public function processRequest(AphrontRequest $request) { | ||||
if ($request->getExists('new') || $request->getExists('providerPHID')) { | if ($request->getExists('new') || $request->getExists('providerPHID')) { | ||||
return $this->processNew($request); | return $this->processNew($request); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 308 Lines • Show Last 20 Lines |