forked from rDrama/rDrama
fix 500 error
parent
5b26941c5c
commit
6cbefa6e82
|
@ -236,7 +236,6 @@ def sign_up_post(v:Optional[User]):
|
||||||
|
|
||||||
if clear:
|
if clear:
|
||||||
session.clear()
|
session.clear()
|
||||||
resp.delete_cookie(app.config["SESSION_COOKIE_NAME"], httponly=True, secure=True, samesite="Lax")
|
|
||||||
|
|
||||||
return render_template("login/sign_up.html",
|
return render_template("login/sign_up.html",
|
||||||
formkey=formkey,
|
formkey=formkey,
|
||||||
|
|
Loading…
Reference in New Issue