mirror of https://github.com/stashapp/stash.git
Set explicit SameSite=Lax on session cookie (#2926)
This commit is contained in:
parent
1207629a76
commit
5e97ecd260
|
@ -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 New Issue