1
0
Fork 0
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:
epriestley 2016-03-22 18:51:39 -07:00
parent dac07921f7
commit e3f89279f9

View file

@ -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;