]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
openvpn-authenticator: Fix call of _client_auth_successful
authorTimo Eissler <timo.eissler@ipfire.org>
Tue, 7 Jun 2022 10:20:14 +0000 (12:20 +0200)
committerTimo Eissler <timo.eissler@ipfire.org>
Tue, 7 Jun 2022 10:20:14 +0000 (12:20 +0200)
config/ovpn/openvpn-authenticator

index 751b58d4382ecd715b423886c050289428afc66e..25d96ca348866b0cd0233e290100936257626b67 100644 (file)
@@ -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,