Skip to content

Commit 45b7f21

Browse files
author
Anand
committed
Copy password only if flag is set
1 parent f7e51fd commit 45b7f21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ func findCurrentEntry(term string) error {
448448
printEntry(&entry, delim)
449449
}
450450

451-
if pcopy {
451+
if pcopy && settingsRider.CopyPassword {
452452
// Single entry
453453
copyPasswordToClipboard(entries[0].Password)
454454
}

0 commit comments

Comments
 (0)