This commit is contained in:
Aevann1 2021-11-16 01:15:31 +02:00
parent e1a1b5243d
commit f72c15db2a
3 changed files with 3 additions and 3 deletions

View file

@ -321,7 +321,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=6
if id_1 == 0 and users_count < 7: admin_level=3
else: admin_level=0
new_user = User(