clear cache of 404 on favicon

Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
Ronni Skansing
2026-05-28 13:05:16 +02:00
parent 1529c10b72
commit 04badad2be
+2
View File
@@ -30,10 +30,12 @@ func NewSoftSessionHandler(
}
s, err := sessionService.GetAndExtendSession(c)
if err != nil {
c.Header("Cache-Control", "no-store")
c.AbortWithStatus(http.StatusNotFound)
return
}
if s.User == nil {
c.Header("Cache-Control", "no-store")
c.AbortWithStatus(http.StatusNotFound)
return
}