From ae97263e4605feabf06a9097fc333bc2abd1ad79 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Wed, 20 Nov 2024 13:05:16 +0100 Subject: [PATCH] system: fix TOTP regression --- src/opnsense/mvc/app/library/OPNsense/Auth/TOTP.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opnsense/mvc/app/library/OPNsense/Auth/TOTP.php b/src/opnsense/mvc/app/library/OPNsense/Auth/TOTP.php index 96cb993a2..6a42b3aa9 100644 --- a/src/opnsense/mvc/app/library/OPNsense/Auth/TOTP.php +++ b/src/opnsense/mvc/app/library/OPNsense/Auth/TOTP.php @@ -158,7 +158,7 @@ trait TOTP $otp_seed = \Base32\Base32::decode($userObject->otp_seed); if ($this->authTOTP($otp_seed, $code)) { // token valid, do parents auth - return parent::authenticate($username, $userPassword); + return parent::_authenticate($username, $userPassword); } } }