diff --git a/home/auth.go b/home/auth.go index 36aa53fe..82918f78 100644 --- a/home/auth.go +++ b/home/auth.go @@ -380,7 +380,7 @@ func optionalAuth(handler func(http.ResponseWriter, *http.Request)) func(http.Re } } - } else if strings.HasPrefix(r.URL.Path,"/assets/") || + } else if strings.HasPrefix(r.URL.Path, "/assets/") || strings.HasPrefix(r.URL.Path, "/login.") || strings.HasPrefix(r.URL.Path, "/__locales/") { // process as usual