mirror of
https://github.com/kingmo888/rustdesk-api-server.git
synced 2025-09-15 15:28:42 +08:00
fix bug +fix #46
This commit is contained in:
parent
9731c58128
commit
0aec8b49ec
@ -32,7 +32,7 @@ DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
|
||||
ALLOWED_HOSTS = ["*"]
|
||||
AUTH_USER_MODEL = 'api.UserProfile' #AppName.自定义user
|
||||
|
||||
ALLOW_REGISTRATION = True # 是否允许注册, True为允许,False为不允许
|
||||
ALLOW_REGISTRATION = os.environ.get("ALLOW_REGISTRATION", True) # 是否允许注册, True为允许,False为不允许
|
||||
|
||||
# Application definition
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user