mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
system: fix TOTP regression
This commit is contained in:
parent
f36aacf08f
commit
ae97263e46
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user