mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Set explicit SameSite=Lax on session cookie (#2926)
This commit is contained in:
@@ -49,6 +49,7 @@ func NewStore(c SessionConfig) *Store {
|
||||
}
|
||||
|
||||
ret.sessionStore.MaxAge(c.GetMaxSessionAge())
|
||||
ret.sessionStore.Options.SameSite = http.SameSiteLaxMode
|
||||
|
||||
return ret
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user