feat(auth): add AUXILIARY_AUTH_ENABLE for user authentication

This commit is contained in:
InfinityPacer
2024-09-12 21:12:10 +08:00
parent 9a62feb9a9
commit 1ebec13afb
3 changed files with 6 additions and 2 deletions
+2
View File
@@ -60,6 +60,8 @@ class Settings(BaseSettings):
CONFIG_DIR: Optional[str] = None
# 超级管理员
SUPERUSER: str = "admin"
# 辅助认证,允许通过媒体服务器认证并创建用户
AUXILIARY_AUTH_ENABLE: bool = True
# API密钥,需要更换
API_TOKEN: str = "moviepilot"
# 网络代理 IP:PORT