forked from rDrama/rDrama
fix bug when 2fa toggle looked like it didnt apply
parent
bcfe98c295
commit
785fb28bb2
|
@ -462,6 +462,7 @@ def settings_security_post(v):
|
|||
|
||||
v.mfa_secret = None
|
||||
g.db.add(v)
|
||||
g.db.commit()
|
||||
return render_template("settings/security.html", v=v, msg="Two-factor authentication disabled.")
|
||||
|
||||
@app.post("/settings/log_out_all_others")
|
||||
|
|
Loading…
Reference in New Issue