Add admin auth settings
Этот коммит содержится в:
+3
-1
@@ -19,7 +19,9 @@ class Settings(BaseSettings):
|
|||||||
redis_url: str = 'redis://localhost:6379/0'
|
redis_url: str = 'redis://localhost:6379/0'
|
||||||
coinex_access_id: str = ''
|
coinex_access_id: str = ''
|
||||||
coinex_secret_key: str = ''
|
coinex_secret_key: str = ''
|
||||||
live_requires_ack_text: str = 'I_UNDERSTAND_LIVE_TRADING_RISK'
|
admin_username: str = 'admin'
|
||||||
|
admin_password: str = 'admin'
|
||||||
|
auth_enabled: bool = True
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def live_enabled(self) -> bool:
|
def live_enabled(self) -> bool:
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user