mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
GitWeb requires authenticated access if there are no public repositories left. 1. Create a public repository 2. Delete the repository (i.e. delete the last/only repository) 3. GitWeb app shows as disabled, but is still usable 4. If another repository is created, the app becomes enabled again Not considering the component GitwebWebserverAuth when determining whether the app is enabled or disabled. This commit fixes the status shown in the configuration page, but keeps the authentication requirement if there are no public repositories. Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net> Reviewed-by: Veiko Aasa <veiko17@disroot.org>