@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix Passphrase Credential dialog

Summary: Fixes T10772, not sure why this fails, but reverting the code back to old dialog call works.

Test Plan:
- Try to add a new credential when importing a repository.
- Also created a new credential normally, via Passphrase.
- Also edited a credential.

Reviewers: chad

Reviewed By: chad

Subscribers: Korvin

Maniphest Tasks: T10772

Differential Revision: https://secure.phabricator.com/D15691

authored by

Chad Little and committed by
epriestley
abf37aa9 afb0f7c7

+2
+2
src/applications/passphrase/controller/PassphraseCredentialEditController.php
··· 21 21 } 22 22 23 23 $type = $this->getCredentialType($credential->getCredentialType()); 24 + $type_const = $type->getCredentialType(); 24 25 25 26 $is_new = false; 26 27 } else { ··· 228 229 $form = id(new AphrontFormView()) 229 230 ->setUser($viewer) 230 231 ->addHiddenInput('isInitialized', true) 232 + ->addHiddenInput('type', $type_const) 231 233 ->appendChild( 232 234 id(new AphrontFormTextControl()) 233 235 ->setName('name')