mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
openvpn-authenticator: Fix call of _client_auth_successful
This commit is contained in:
committed by
Michael Tremer
parent
a4a42daeea
commit
472cd78269
@@ -209,7 +209,7 @@ class OpenVPNAuthenticator(object):
|
|||||||
if username == common_name:
|
if username == common_name:
|
||||||
# Check if TOTP token matches
|
# Check if TOTP token matches
|
||||||
if self._check_totp_token(token, conn.get("totp_secret")):
|
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
|
# Restart authentication
|
||||||
self._client_auth_challenge(cid, kid,
|
self._client_auth_challenge(cid, kid,
|
||||||
|
|||||||
Reference in New Issue
Block a user