diff --git a/app.py b/app.py index de0b93c..d356304 100644 --- a/app.py +++ b/app.py @@ -73,6 +73,8 @@ def confirm(): if not bod: return render_template("wrong_key.html") session["user"] = { "id": bod.id, "email": bod.email} + session.permanent = True + app.permanent_session_lifetime = datetime.timedelta(days=90) return redirect(request.args["target"]) @app.route("/vote/")