diff --git a/src/main/scala/gitbucket/core/controller/PreProcessController.scala b/src/main/scala/gitbucket/core/controller/PreProcessController.scala index 1c5d26395..68ce0e9f5 100644 --- a/src/main/scala/gitbucket/core/controller/PreProcessController.scala +++ b/src/main/scala/gitbucket/core/controller/PreProcessController.scala @@ -29,7 +29,7 @@ trait PreProcessControllerBase extends ControllerBase { */ 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()