Skip to content
This repository was archived by the owner on Oct 13, 2024. It is now read-only.

Commit 90f9291

Browse files
committed
fix: make session permanent
1 parent ffd7b41 commit 90f9291

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Contents/Code/webapp.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,7 @@ def login(redirect_uri="/"):
635635

636636
@app.route("/login", methods=["POST"])
637637
def login_post():
638+
session.permanent = True
638639
session["token"] = flask.request.form["token"]
639640
if not is_logged_in():
640641
return flask.Response(status=401)

0 commit comments

Comments
 (0)