From b55030a765f040a15609c60d3f69b6cb7f00bdae Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Sat, 16 Apr 2011 09:27:57 -0400 Subject: [PATCH] More flexible authentication. Anonymous view, authenticated admin. --- gitblit.properties | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gitblit.properties b/gitblit.properties index 1adadc8..a482810 100644 --- a/gitblit.properties +++ b/gitblit.properties @@ -26,8 +26,11 @@ # Require authentication for http/https push/pull access of git repositories git.authenticate = true -# Require authentication to see the web ui -web.authenticate = true +# Require authentication to see everything but the admin pages +web.authenticateViewPages = false + +# Require admin authentication for the admin functions and pages +web.authenticateAdminPages = true # Simple user realm file to authenticate users server.realmFile = users.properties -- Gitblit v1.9.1