fix: login via code

Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
2026-07-18 21:25:51 -04:00
parent 03713df716
commit 1ddd49d6d7
4 changed files with 20 additions and 10 deletions
+1 -1
View File
@@ -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',