Page MenuHomePhorge

D25065.1737348856.diff
No OneTemporary

D25065.1737348856.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
@@ -45,6 +45,12 @@
// Prefill username if provided.
$credential->setUsername((string)$request->getStr('username'));
+ // Prefill name if provided.
+ $credential->setName((string)$request->getStr('name'));
+
+ // Prefill description if provided.
+ $credential->setDescription((string)$request->getStr('description'));
+
if (!$request->getStr('isInitialized')) {
$type->didInitializeNewCredential($viewer, $credential);
}

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 20, 04:54 (20 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1108663
Default Alt Text
D25065.1737348856.diff (819 B)

Event Timeline