API: Add SameSite Strict attribute to cookie
This commit is contained in:
parent
9b498b23a7
commit
e2419d545f
|
@ -120,6 +120,7 @@ func completeAuth(opts *config.Options, email string, service string) Response {
|
|||
Expires: time.Now().Add(30 * 24 * time.Hour),
|
||||
Secure: opts.DevProxy == "",
|
||||
HttpOnly: true,
|
||||
SameSite: http.SameSiteStrictMode,
|
||||
}},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user