mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +01:00
SSH Keys - allow viewer to download the private key
Summary: ...cuz otherwise this is pretty pointless. Fixes T5931. Test Plan: generated a key, downloaded the key. previously download failed. Reviewers: epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T5931 Differential Revision: https://secure.phabricator.com/D10311
This commit is contained in:
parent
0ddafc4bcd
commit
d1c3915e3a
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ final class PhabricatorSettingsPanelSSHKeys
|
|||
array(
|
||||
'name' => 'id_rsa_phabricator.key',
|
||||
'ttl' => time() + (60 * 10),
|
||||
'viewPolicy' => PhabricatorPolicies::POLICY_NOONE,
|
||||
'viewPolicy' => $viewer->getPHID(),
|
||||
));
|
||||
|
||||
list($type, $body, $comment) = self::parsePublicKey($public_key);
|
||||
|
|
Loading…
Reference in a new issue