Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2905227
D25065.1737340083.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
819 B
Referenced Files
None
Subscribers
None
D25065.1737340083.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 20, 02:28 (21 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1108663
Default Alt Text
D25065.1737340083.diff (819 B)
Attached To
Mode
D25065: Allow to prefill name and description fields of a new Passphrase
Attached
Detach File
Event Timeline
Log In to Comment