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:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user