From: Timo Eissler Date: Tue, 7 Jun 2022 10:20:14 +0000 (+0200) Subject: openvpn-authenticator: Fix call of _client_auth_successful X-Git-Tag: v2.27-core170~61^2~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=472cd78269a8d03cfa1447b3c80bed6dd3fd0897;p=ipfire-2.x.git openvpn-authenticator: Fix call of _client_auth_successful --- diff --git a/config/ovpn/openvpn-authenticator b/config/ovpn/openvpn-authenticator index 751b58d438..25d96ca348 100644 --- a/config/ovpn/openvpn-authenticator +++ b/config/ovpn/openvpn-authenticator @@ -209,7 +209,7 @@ class OpenVPNAuthenticator(object): if username == common_name: # Check if TOTP token matches if self._check_totp_token(token, conn.get("totp_secret")): - return self._client_auth_successful(self, cid, kid) + return self._client_auth_successful(cid, kid) # Restart authentication self._client_auth_challenge(cid, kid,