Page MenuHomePhabricator

D15691.id37813.diff
No OneTemporary

D15691.id37813.diff

diff --git a/src/applications/passphrase/controller/PassphraseCredentialEditController.php b/src/applications/passphrase/controller/PassphraseCredentialEditController.php
--- a/src/applications/passphrase/controller/PassphraseCredentialEditController.php
+++ b/src/applications/passphrase/controller/PassphraseCredentialEditController.php
@@ -21,6 +21,7 @@
}
$type = $this->getCredentialType($credential->getCredentialType());
+ $type_const = $type->getCredentialType();
$is_new = false;
} else {
@@ -228,6 +229,7 @@
$form = id(new AphrontFormView())
->setUser($viewer)
->addHiddenInput('isInitialized', true)
+ ->addHiddenInput('type', $type_const)
->appendChild(
id(new AphrontFormTextControl())
->setName('name')

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 13, 6:14 PM (5 d, 18 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6752503
Default Alt Text
D15691.id37813.diff (803 B)

Event Timeline