This commit is contained in:
Aevann1 2021-12-28 08:28:18 +02:00
parent e0a5835a58
commit 774b063dc4
9 changed files with 1072 additions and 706 deletions

View file

@ -311,7 +311,7 @@ def sign_up_post(v):
id_1 = g.db.query(User.id).filter_by(id=7).count()
users_count = g.db.query(User.id).count()
if id_1 == 0 and users_count < 7: admin_level=3
if id_1 == 0 and users_count == 7: admin_level=3
else: admin_level=0
new_user = User(