From cd9c3840c7dc8881e0de2ea347a646a16996c276 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Wed, 6 Jan 2021 15:22:48 +0100 Subject: [PATCH] [FIX] Logout of bitwarden before logging in Otherwise we do not get the session key output... --- bootstrap.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bootstrap.sh b/bootstrap.sh index a654c7f..f1e4b36 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -82,6 +82,7 @@ get-pgp() { get-creds() { if [ -z "${BW_SESSION-set}" ]; then + bw logout || true BW_SESSION="$(bw login --raw)" export BW_SESSION fi