mirror of
https://github.com/stashapp/stash.git
synced 2026-02-14 19:33:34 +01:00
Set explicit SameSite=Lax on session cookie (#2926)
This commit is contained in:
parent
1207629a76
commit
5e97ecd260
1 changed files with 1 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ func NewStore(c SessionConfig) *Store {
|
|||
}
|
||||
|
||||
ret.sessionStore.MaxAge(c.GetMaxSessionAge())
|
||||
ret.sessionStore.Options.SameSite = http.SameSiteLaxMode
|
||||
|
||||
return ret
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue