From 1a66a30bc184528ec971306497cca3597072202a Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Mon, 30 Jun 2025 22:59:12 -0400 Subject: [PATCH] Fix one-time TOTP copy --- core/copy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/copy.go b/core/copy.go index d652951..d9a2e8d 100644 --- a/core/copy.go +++ b/core/copy.go @@ -32,7 +32,7 @@ func CopyArgument(targetLocation string, field int) error { if len(decryptedEntry) > field { // ensure field is not empty - if decryptedEntry[field] == "" { + if field > -1 && decryptedEntry[field] == "" { return errors.New("field is empty") }