diff --git a/config/ovpn/openvpn-authenticator b/config/ovpn/openvpn-authenticator index 2c92f07f8..f50aab093 100644 --- a/config/ovpn/openvpn-authenticator +++ b/config/ovpn/openvpn-authenticator @@ -298,7 +298,7 @@ class OpenVPNAuthenticator(object): def _check_totp_token(self, token, secret): p = subprocess.run( - ["oathtool", "-w", "3", "%s" % secret], + ["oathtool", "--totp", "-w", "3", "%s" % secret], capture_output=True, )