use samesitestrict. from timkuijsten

This commit is contained in:
Ted Unangst 2022-11-29 12:26:38 -05:00
parent 26e79c6bb7
commit f5ee0ad942
1 changed files with 1 additions and 1 deletions

2
web.go
View File

@ -2421,7 +2421,7 @@ func bgmonitor() {
func serve() { func serve() {
db := opendatabase() db := opendatabase()
login.Init(login.InitArgs{Db: db, Logger: ilog, Insecure: develMode}) login.Init(login.InitArgs{Db: db, Logger: ilog, Insecure: develMode, SameSiteStrict: !develMode})
listener, err := openListener() listener, err := openListener()
if err != nil { if err != nil {