diff --git a/files/routes/login.py b/files/routes/login.py index 78c850ffd..48d8e4504 100644 --- a/files/routes/login.py +++ b/files/routes/login.py @@ -316,7 +316,7 @@ def sign_up_post(v): g.db.add(new_badge) - id_1 = g.db.query(User.id).filter_by(id=7).count() + id_1 = g.db.query(User.id).filter_by(id=8).count() users_count = g.db.query(User.id).count() if id_1 == 0 and users_count == 7: admin_level=3 else: admin_level=0 diff --git a/files/templates/home.html b/files/templates/home.html index dead300ff..45a03082f 100644 --- a/files/templates/home.html +++ b/files/templates/home.html @@ -42,7 +42,7 @@
- {% if request.path == '/' and v.admin_level > 1 or v.club_allowed != False %} + {% if request.path == '/' and v.paid_dues %}