forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-10-18 18:13:09 +02:00
parent 50d9ba31c3
commit e590bfac3e
1 changed files with 2 additions and 2 deletions

View File

@ -321,9 +321,9 @@ def sign_up_post(v):
g.db.add(ref_user)
id_1 = g.db.query(User.id).options(lazyload('*')).filter_by(id=6).count()
id_1 = g.db.query(User.id).options(lazyload('*')).filter_by(id=7).count()
users_count = g.db.query(User.id).count() #paranoid
if id_1 == 0 and users_count < 6: admin_level=6
if id_1 == 0 and users_count < 7: admin_level=6
else: admin_level=0
new_user = User(