mirror of
https://github.com/simple-login/app.git
synced 2024-11-17 22:21:38 +08:00
Remove token when submitted value is incorrect
This commit is contained in:
parent
de1823c854
commit
8c946d7026
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ def mfa():
|
|||
|
||||
else:
|
||||
flash("Incorrect token", "warning")
|
||||
otp_token_form.token.data = None
|
||||
|
||||
return render_template(
|
||||
"auth/mfa.html",
|
||||
|
|
Loading…
Reference in a new issue