Page MenuHomePhabricator

D15691.id37817.diff
No OneTemporary

D15691.id37817.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
Fri, Nov 8, 7:20 PM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6752503
Default Alt Text
D15691.id37817.diff (803 B)

Event Timeline