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:
parent
da3084f76e
commit
7c2c8a01f5
1 changed files with 1 additions and 0 deletions
1
webui.py
1
webui.py
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue