forked from rDrama/rDrama
1
0
Fork 0

change msg to be more clear

master
justcool393 2022-11-15 10:56:23 -06:00
parent b95ee0864e
commit b2f5cf92d0
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")
if v and not v.mfa_secret: abort(400, "You don't have 2FA enabled")
return render_template(
"lost_2fa.html",
v=v