feat(self_host/git): disabling the creation of account
- Now only use the sso for account creation
This commit is contained in:
parent
b9ed7f1eb8
commit
1975d83017
1 changed files with 6 additions and 4 deletions
|
|
@ -18,10 +18,6 @@ in
|
||||||
SSH_PORT = 42131;
|
SSH_PORT = 42131;
|
||||||
HTTP_ADDR = "127.0.0.1";
|
HTTP_ADDR = "127.0.0.1";
|
||||||
HTTP_PORT = 3042;
|
HTTP_PORT = 3042;
|
||||||
DISABLE_REGISTRATION = true;
|
|
||||||
ALLOW_ONLY_EXTERNAL_REGISTRATION = true;
|
|
||||||
SHOW_REGISTRATION_BUTTON = false;
|
|
||||||
DISABLE_REGULAR_LOGIN = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
oauth2 = {
|
oauth2 = {
|
||||||
|
|
@ -39,6 +35,12 @@ in
|
||||||
UPDATE_AVATAR = true;
|
UPDATE_AVATAR = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
service = {
|
||||||
|
DISABLE_REGISTRATION = true;
|
||||||
|
ALLOW_ONLY_EXTERNAL_REGISTRATION = true;
|
||||||
|
SHOW_REGISTRATION_BUTTON = false;
|
||||||
|
DISABLE_PASSWORD_SIGNIN_FORM = true;
|
||||||
|
};
|
||||||
security = {
|
security = {
|
||||||
LOGIN_REMEMBER_DAYS = 14;
|
LOGIN_REMEMBER_DAYS = 14;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue