fix: login via code
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
@@ -128,7 +128,7 @@ class EnrollmentService
|
||||
}
|
||||
|
||||
// Verify the code
|
||||
if (!$this->verifyCode($enrollment['secret'], $code)) {
|
||||
if (!$this->verifyTotpCode($enrollment['secret'], $code)) {
|
||||
return [
|
||||
'success' => false,
|
||||
'error' => 'Invalid verification code',
|
||||
|
||||
Reference in New Issue
Block a user