mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-09-01 14:47:21 -04:00
Move username to top of copy menu; send user to copy menu after creating/editing an entry; allow copying old password from copy menu
This commit is contained in:
+2
-2
@@ -44,9 +44,9 @@ func AddEntry(realPath string, hideSecrets bool, entryType uint8) {
|
||||
|
||||
// write and preview the new entry
|
||||
if password != "" {
|
||||
writeEntryCLI(realPath, decryptedEntry, hideSecrets, true)
|
||||
writeEntryCLI(realPath, decryptedEntry, hideSecrets, true, "")
|
||||
} else {
|
||||
writeEntryCLI(realPath, decryptedEntry, hideSecrets, false)
|
||||
writeEntryCLI(realPath, decryptedEntry, hideSecrets, false, "")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user