From 5ae0b71e1e6e73e4bacf321a7d5be49fcdf4ad97 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Thu, 20 Oct 2011 08:01:54 -0400
Subject: [PATCH] Properly handle anonymous registrations.

---
 src/com/gitblit/Constants.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/com/gitblit/Constants.java b/src/com/gitblit/Constants.java
index 6300fa2..d6495e6 100644
--- a/src/com/gitblit/Constants.java
+++ b/src/com/gitblit/Constants.java
@@ -212,7 +212,7 @@
 					return type;
 				}
 			}
-			return LIST_REPOSITORIES;
+			return null;
 		}
 
 		public boolean exceeds(RpcRequest type) {

--
Gitblit v1.9.1