mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Attach credential impelementations when initializing new credentials
Summary: Fixes T10651. Test Plan: Created a new API token credential. Reviewers: chad Reviewed By: chad Maniphest Tasks: T10651 Differential Revision: https://secure.phabricator.com/D15512
This commit is contained in:
parent
dac07921f7
commit
e3f89279f9
1 changed files with 2 additions and 1 deletions
|
@ -36,7 +36,8 @@ final class PassphraseCredentialEditController extends PassphraseController {
|
|||
|
||||
$credential = PassphraseCredential::initializeNewCredential($viewer)
|
||||
->setCredentialType($type->getCredentialType())
|
||||
->setProvidesType($type->getProvidesType());
|
||||
->setProvidesType($type->getProvidesType())
|
||||
->attachImplementation($type);
|
||||
|
||||
$is_new = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue