mirror of
https://github.com/elyby/accounts.git
synced 2026-11-27 01:23:26 +05:30
Добавлено окно для валидации TOTP токена на формах входа и восстановления пароля
This commit is contained in:
1 parent
0798faa7f1
commit
0eedfe91a2
2 files changed
+2
No files matched your search
@@ -51,6 +51,7 @@ class ForgotPasswordForm extends ApiForm {
|
||||
}
|
||||
|
||||
$validator = new TotpValidator(['account' => $account]);
|
||||
$validator->window = 1;
|
||||
$validator->validateAttribute($this, $attribute);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user