fix 2fa bug

remotes/1693176582716663532/tmp_refs/heads/watchparty
justcool393 2022-11-15 10:56:04 -06:00
parent 3d7737387c
commit b95ee0864e
1 changed files with 1 additions and 1 deletions

View File

@ -463,7 +463,7 @@ def post_reset(v):
@app.get("/lost_2fa")
@auth_desired
def lost_2fa(v):
if v and not v.mfa_token: abort(400, "You don't have a 2FA token")
return render_template(
"lost_2fa.html",
v=v