Differential D20006 Diff 47807 src/applications/diffusion/panel/DiffusionSetPasswordSettingsPanel.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/panel/DiffusionSetPasswordSettingsPanel.php
| Show All 12 Lines | final class DiffusionSetPasswordSettingsPanel extends PhabricatorSettingsPanel { | ||||
| public function getPanelKey() { | public function getPanelKey() { | ||||
| return 'vcspassword'; | return 'vcspassword'; | ||||
| } | } | ||||
| public function getPanelName() { | public function getPanelName() { | ||||
| return pht('VCS Password'); | return pht('VCS Password'); | ||||
| } | } | ||||
| public function getPanelMenuIcon() { | |||||
| return 'fa-code'; | |||||
| } | |||||
| public function getPanelGroupKey() { | public function getPanelGroupKey() { | ||||
| return PhabricatorSettingsAuthenticationPanelGroup::PANELGROUPKEY; | return PhabricatorSettingsAuthenticationPanelGroup::PANELGROUPKEY; | ||||
| } | } | ||||
| public function isEnabled() { | public function isEnabled() { | ||||
| return PhabricatorEnv::getEnvConfig('diffusion.allow-http-auth'); | return PhabricatorEnv::getEnvConfig('diffusion.allow-http-auth'); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 236 Lines • Show Last 20 Lines | |||||