use samesitestrict. from timkuijsten
This commit is contained in:
parent
26e79c6bb7
commit
f5ee0ad942
2
web.go
2
web.go
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue