1
0
Fork 0
mirror of https://github.com/Lynnesbian/FediBooks/ synced 2024-11-25 16:48:58 +00:00

reset step on home page

This commit is contained in:
Lynne Megido 2019-09-01 14:57:03 +10:00
parent da3084f76e
commit 7c2c8a01f5

View file

@ -11,6 +11,7 @@ def hello():
session['userid'] = 1 session['userid'] = 1
# session.clear() # session.clear()
if 'userid' in session: if 'userid' in session:
session['step'] = 1
return render_template("home.html") return render_template("home.html")
else: else:
return render_template("front_page.html") return render_template("front_page.html")