Skip to content

Commit 1b0ed8b

Browse files
committed
no redirect to css on deny anony access (refs #3)
1 parent 9c26e6c commit 1b0ed8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/Plugin.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Plugin extends gitbucket.core.plugin.Plugin {
2323
override def javaScripts(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Seq[(String, String)] = {
2424
val path = settings.baseUrl.getOrElse(context.getContextPath)
2525
Seq(
26-
".*/(?!.*(dashboard|admin)).+/.+" -> s"""
26+
".*/(?!.*(signin|dashboard|admin)).+/.+" -> s"""
2727
|</script>
2828
|<script>
2929
| var link = document.createElement('link');

0 commit comments

Comments
 (0)