aboutsummaryrefslogtreecommitdiff
path: root/app/__init__.py
diff options
context:
space:
mode:
authorKaran Jayachandra <karan.jayachandra@nxp.com>2025-07-25 16:06:20 +0200
committerKaran Jayachandra <karan.jayachandra@nxp.com>2025-07-25 16:06:20 +0200
commit63e1b52e1b76e136e6534949980d85ffe413f0c9 (patch)
treea4f8e5745ad11be7e2f79740f3c590f4a67224a4 /app/__init__.py
parentc041e74af8c69e8fb0680558e23dd7be542afcf6 (diff)
Working mobile and desktop version
Diffstat (limited to 'app/__init__.py')
-rw-r--r--app/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/__init__.py b/app/__init__.py
index 639f030..0e0ea09 100644
--- a/app/__init__.py
+++ b/app/__init__.py
@@ -31,7 +31,7 @@ g = Session()
@app.route("/", methods=["GET"])
def home():
- return render_template("index.j2", url_for=url_for)
+ return render_template("index.j2", url_for=url_for, login_status=is_logged_in())
@app.route("/control", methods=["GET"])
@@ -46,6 +46,7 @@ def get_list_of_players():
regulars=g.players.regulars(),
guests=g.players.guests(),
url_for=url_for,
+ login_status=is_logged_in(),
)