diff --git a/src/main/scala/gitbucket/core/controller/PreProcessController.scala b/src/main/scala/gitbucket/core/controller/PreProcessController.scala index 1c5d263..68ce0e9 100644 --- a/src/main/scala/gitbucket/core/controller/PreProcessController.scala +++ b/src/main/scala/gitbucket/core/controller/PreProcessController.scala @@ -29,7 +29,7 @@ */ get(!context.settings.allowAnonymousAccess, context.loginAccount.isEmpty) { if(!context.currentPath.startsWith("/assets") && !context.currentPath.startsWith("/signin") && - !context.currentPath.startsWith("/register")) { + !context.currentPath.startsWith("/register") && !context.currentPath.endsWith("/info/refs")) { Unauthorized() } else { pass()