actually disable user registration for gitea

This commit is contained in:
stupidcomputer 2024-06-20 19:02:08 -05:00
parent fc785fa6dd
commit 1703177ade
1 changed files with 4 additions and 1 deletions

View File

@ -167,7 +167,10 @@
passwordFile = "/etc/gittea-pass";
};
settings.security.INSTALL_LOCK = true;
settings.service.SHOW_REGISTRATION_BUTTON = false;
settings.service = {
SHOW_REGISTRATION_BUTTON = false;
DISABLE_REGISRATION = true;
};
settings.ui.DEFAULT_THEME = "arc-green";
settings.api.ENABLE_SWAGGER = false;
settings.server = {