forked from rDrama/rDrama
reduce default admin level
parent
089173f40d
commit
8cf4b6fda6
|
@ -36,7 +36,7 @@ from .subscriptions import *
|
||||||
from .userblock import *
|
from .userblock import *
|
||||||
|
|
||||||
if SITE == 'devrama.net':
|
if SITE == 'devrama.net':
|
||||||
DEFAULT_ADMIN_LEVEL = 5
|
DEFAULT_ADMIN_LEVEL = 4
|
||||||
DEFAULT_COINS = 100000000
|
DEFAULT_COINS = 100000000
|
||||||
DEFAULT_MARSEYBUX = 100000000
|
DEFAULT_MARSEYBUX = 100000000
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -316,7 +316,7 @@ def sign_up_post(v:Optional[User]):
|
||||||
)
|
)
|
||||||
|
|
||||||
if users_count == 4:
|
if users_count == 4:
|
||||||
new_user.admin_level = 5
|
new_user.admin_level = 4
|
||||||
session["history"] = []
|
session["history"] = []
|
||||||
|
|
||||||
g.db.add(new_user)
|
g.db.add(new_user)
|
||||||
|
|
Loading…
Reference in New Issue