diff --git a/src/main/scala/gitbucket/core/controller/PreProcessController.scala b/src/main/scala/gitbucket/core/controller/PreProcessController.scala index 9e21ecc..4a368b0 100644 --- a/src/main/scala/gitbucket/core/controller/PreProcessController.scala +++ b/src/main/scala/gitbucket/core/controller/PreProcessController.scala @@ -32,6 +32,7 @@ get(!context.settings.allowAnonymousAccess, context.loginAccount.isEmpty) { if (!context.currentPath.startsWith("/assets") && !context.currentPath.startsWith("/signin") && !context.currentPath.startsWith("/register") && !context.currentPath.endsWith("/info/refs") && + !context.currentPath.startsWith("/plugin-assets") && !PluginRegistry().getAnonymousAccessiblePaths().exists { path => context.currentPath.startsWith(path) }) {