Skip to content

Commit

Permalink
Merge pull request #393 from mhhplumber/bugfix/tokens-invalidated
Browse files Browse the repository at this point in the history
Stop invalidating my tokens
  • Loading branch information
Julio Gutierrez authored Apr 21, 2023
2 parents 46ffa1d + c0e02a4 commit 585e9a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/usr/bin/nord_login
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fi
sleep 5

[[ -z "${PASS}" ]] && [[ -f "${PASSFILE}" ]] && PASS="$(head -n 1 "${PASSFILE}")"
nordvpn logout > /dev/null
nordvpn logout --persist-token > /dev/null

if [[ -n ${TOKEN} ]]; then
nordvpn login --token "${TOKEN}" || {
Expand Down

0 comments on commit 585e9a0

Please sign in to comment.