fdsdfs
This commit is contained in:
parent
e1a1b5243d
commit
f72c15db2a
3 changed files with 3 additions and 3 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue