mirror of
https://github.com/kingmo888/rustdesk-api-server.git
synced 2026-02-21 10:27:23 +08:00
改为默认可注册
This commit is contained in:
parent
2b3de4173a
commit
0585aa9ab7
@ -32,7 +32,7 @@ DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
|
||||
ALLOWED_HOSTS = ["*"]
|
||||
AUTH_USER_MODEL = 'api.UserProfile' #AppName.自定义user
|
||||
|
||||
ALLOW_REGISTRATION = False # 是否允许注册, True为允许,False为不允许
|
||||
ALLOW_REGISTRATION = True # 是否允许注册, True为允许,False为不允许
|
||||
|
||||
# Application definition
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user