mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 05:50:55 +01:00
Fix an error in PassphrasePasswordKey construction
Summary: This uses the wrong class name, and builds the wrong object type.
See: <51fb1ca16d (commitcomment-4703209)
>
Auditors: btrahan
This commit is contained in:
parent
e67302a4c9
commit
dd4a4a8c45
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
final class PassphrasePasswordKey extends PassphraseAbstractKey {
|
||||
|
||||
public static function loadFromPHID($phid, PhabricatorUser $viewer) {
|
||||
$key = new PassphraseSSHKey();
|
||||
$key = new PassphrasePasswordKey();
|
||||
return $key->loadAndValidateFromPHID(
|
||||
$phid,
|
||||
$viewer,
|
||||
|
|
Loading…
Reference in a new issue