From 1eb6a6fea573ffcd9d1f23262e44a8bc738fa66e Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Mon, 21 Aug 2023 21:43:57 +0200 Subject: [PATCH] Add delay period to passwordless login --- agent/bitwarden/auth.go | 1 + 1 file changed, 1 insertion(+) diff --git a/agent/bitwarden/auth.go b/agent/bitwarden/auth.go index de8e112..3b2f298 100644 --- a/agent/bitwarden/auth.go +++ b/agent/bitwarden/auth.go @@ -179,6 +179,7 @@ func LoginWithDevice(ctx context.Context, email string, cfg *config.Config, vaul } return loginResponseToken, crypto.MasterKeyFromBytes(masterKey), string(masterPasswordHash), nil } + time.Sleep(1 * time.Second) } } }