system: fix TOTP regression

This commit is contained in:
Franco Fichtner 2024-11-20 13:05:16 +01:00
parent f36aacf08f
commit ae97263e46

View File

@ -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);
}
}
}