feat(self_host/git): disabling the creation of account

- Now only use the sso for account creation
This commit is contained in:
Raphael 2025-12-25 02:09:05 +01:00
parent b9ed7f1eb8
commit 1975d83017
No known key found for this signature in database

View file

@ -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;
}; };