fdsfds
This commit is contained in:
parent
e0a5835a58
commit
774b063dc4
9 changed files with 1072 additions and 706 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue