reduce default admin level

pull/131/head
Aevann 2023-02-21 17:14:37 +02:00
parent 089173f40d
commit 8cf4b6fda6
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ from .subscriptions import *
from .userblock import *
if SITE == 'devrama.net':
DEFAULT_ADMIN_LEVEL = 5
DEFAULT_ADMIN_LEVEL = 4
DEFAULT_COINS = 100000000
DEFAULT_MARSEYBUX = 100000000
else:

View File

@ -316,7 +316,7 @@ def sign_up_post(v:Optional[User]):
)
if users_count == 4:
new_user.admin_level = 5
new_user.admin_level = 4
session["history"] = []
g.db.add(new_user)