From b58037060e95b4b3bc4b6a16ce7a1df05a059daf Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Fri, 16 Oct 2026 22:16:11 -1000 Subject: Say that a protected repository stays on the index --- custom/extensions/auth-file.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'custom/extensions/auth-file.lua') diff --git a/custom/extensions/auth-file.lua b/custom/extensions/auth-file.lua index f5d250c..dc21bec 100644 --- a/custom/extensions/auth-file.lua +++ b/custom/extensions/auth-file.lua @@ -48,6 +48,10 @@ -- other's cookies, and only a new secret file ends every session at once. -- That is acceptable for gating read access to a git browser, so weigh it -- before guarding anything more. +-- +-- The filter guards a repository's pages, not its place on the index, which +-- still lists a protected repository with its description unless cgitrc sets +-- repo.hide=1 for it. -- The values that follow are the configuration and are meant to be edited. -- cgit