mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 01:10:58 +01:00
Don't disable the "Show Public Key" action for locked credentials
Summary: Fixes T5104. It's still OK to reveal public keys of locked credentials -- the controller has the right logic, this UI just isn't in sync. Test Plan: Viewed passphrase; saw enabled menu item on locked credential. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T5104 Differential Revision: https://secure.phabricator.com/D9186
This commit is contained in:
parent
edd8242008
commit
af0edf883d
1 changed files with 1 additions and 2 deletions
|
@ -134,8 +134,7 @@ final class PassphraseCredentialViewController extends PassphraseController {
|
|||
->setName(pht('Show Public Key'))
|
||||
->setIcon('fa-download')
|
||||
->setHref($this->getApplicationURI("public/{$id}/"))
|
||||
->setWorkflow(true)
|
||||
->setDisabled($is_locked));
|
||||
->setWorkflow(true));
|
||||
}
|
||||
|
||||
$actions->addAction(
|
||||
|
|
Loading…
Reference in a new issue