[FIX] Logout of bitwarden before logging in
Otherwise we do not get the session key output...
This commit is contained in:
parent
5c1675e6e6
commit
cd9c3840c7
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue