vps1: forgejo: allow external registration

This commit is contained in:
Lgmrszd 2024-05-12 00:42:29 +03:00
parent 9f7a478567
commit 06652189bc
No known key found for this signature in database
GPG key ID: 9396B8BA6FBB14DE

View file

@ -40,7 +40,19 @@ in
HTTP_ADDR = "127.0.0.1"; HTTP_ADDR = "127.0.0.1";
HTTP_PORT = 3001; HTTP_PORT = 3001;
}; };
service.DISABLE_REGISTRATION = true; service = {
DISABLE_REGISTRATION = false;
ALLOW_ONLY_INTERNAL_REGISTRATION = false;
ALLOW_ONLY_EXTERNAL_REGISTRATION = true;
SHOW_REGISTRATION_BUTTON = false;
REGISTER_EMAIL_CONFIRM = false;
DEFAULT_KEEP_EMAIL_PRIVATE = true;
DEFAULT_ALLOW_CREATE_ORGANIZATION = false;
};
repository = {
MAX_CREATION_LIMIT = 0;
};
actions = { actions = {
ENABLED = false; ENABLED = false;
}; };