fix(gitea): allow anonymous browsing of public repos

Remove REQUIRE_SIGNIN_VIEW so public repos are viewable without login;
registration stays disabled and private repos still require auth.
This commit is contained in:
2026-09-19 14:55:02 +01:00
parent b394cc6d8c
commit f1f74dc3af
+3 -1
View File
@@ -73,7 +73,9 @@
};
service = {
DISABLE_REGISTRATION = true;
REQUIRE_SIGNIN_VIEW = true;
# Allow anonymous browsing of public repos; private content still
# requires login. (REQUIRE_SIGNIN_VIEW would hide even public repos.)
REQUIRE_SIGNIN_VIEW = false;
SHOW_REGISTRATION_BUTTON = false;
};
security = {