Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/panel/PhabricatorSSHKeysSettingsPanel.php
| Show All 13 Lines | public function getPanelName() { | ||||
| return pht('SSH Public Keys'); | return pht('SSH Public Keys'); | ||||
| } | } | ||||
| public function getPanelGroup() { | public function getPanelGroup() { | ||||
| return pht('Authentication'); | return pht('Authentication'); | ||||
| } | } | ||||
| public function isEnabled() { | public function isEnabled() { | ||||
| if ($this->getUser()->getIsMailingList()) { | |||||
| return false; | |||||
| } | |||||
| return true; | return true; | ||||
| } | } | ||||
| public function processRequest(AphrontRequest $request) { | public function processRequest(AphrontRequest $request) { | ||||
| $user = $this->getUser(); | $user = $this->getUser(); | ||||
| $viewer = $request->getUser(); | $viewer = $request->getUser(); | ||||
| $keys = id(new PhabricatorAuthSSHKeyQuery()) | $keys = id(new PhabricatorAuthSSHKeyQuery()) | ||||
| ▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines | |||||