Skip to content

Commit

Permalink
update to 3.12.2, use --legacy login
Browse files Browse the repository at this point in the history
  • Loading branch information
Julio Gutierrez committed Dec 18, 2021
1 parent bce88f3 commit eab53ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM s6on/ubuntu:20.04
LABEL maintainer="Julio Gutierrez julio.guti+nordvpn@pm.me"

ARG NORDVPN_VERSION=3.12.1-1
ARG NORDVPN_VERSION=3.12.2
ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update -y && \
Expand Down
2 changes: 1 addition & 1 deletion rootfs/usr/bin/nord_login
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[[ -z "${PASS}" ]] && [[ -f "${PASSFILE}" ]] && PASS="$(head -n 1 "${PASSFILE}")"
nordvpn logout > /dev/null
nordvpn login --username "${USER}" --password "${PASS}" || {
nordvpn login --legacy --username "${USER}" --password "${PASS}" || {
echo "Invalid Username or password."
exit 1
}
Expand Down

0 comments on commit eab53ba

Please sign in to comment.