aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middleware/session.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/middleware/session.go')
-rw-r--r--server/middleware/session.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middleware/session.go b/server/middleware/session.go
index edaa59b..a5a0b67 100644
--- a/server/middleware/session.go
+++ b/server/middleware/session.go
@@ -48,7 +48,7 @@ func (s *SessionMiddleware) Handler(next http.Handler) http.Handler {
func (s *SessionMiddleware) isPublicRoute(r *http.Request) bool {
route := mux.CurrentRoute(r)
switch route.GetName() {
- case "login", "checkLogin", "stylesheet", "javascript", "oauth2Redirect", "oauth2Callback":
+ case "login", "checkLogin", "stylesheet", "javascript", "oauth2Redirect", "oauth2Callback", "appIcon", "favicon":
return true
default:
return false