mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-08-28 13:20:30 +02:00
clear cache of 404 on favicon
Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user