From 93af640d53c66268af8cd3b0ad1706af9cafe8ba Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Mon, 18 Nov 2019 11:27:50 +0900 Subject: [PATCH] Set cookie's SameSite attribute (fixes #245) --- go.mod | 2 +- go.sum | 4 ++-- pages/embed/embed.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index c2def6aa..43f5bcae 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.13 require ( cloud.google.com/go v0.48.0 // indirect github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d // indirect - github.com/aerogo/aero v1.3.44 + github.com/aerogo/aero v1.3.46 github.com/aerogo/api v0.2.3 github.com/aerogo/crawler v0.2.5 github.com/aerogo/flow v0.1.5 diff --git a/go.sum b/go.sum index 77c537b9..9ad450e5 100644 --- a/go.sum +++ b/go.sum @@ -24,8 +24,8 @@ github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d h1:G0m3OIz70MZUW github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= github.com/aerogo/aero v1.3.29/go.mod h1:nHuG9q4VrzH7ZtiE1TEIt9Lazp/w3WpC3nqAKREkg0Q= github.com/aerogo/aero v1.3.30/go.mod h1:iAzV2JRnKAFOo/c+4KIgf35JGS82qMU4tI06ocHeRrk= -github.com/aerogo/aero v1.3.44 h1:dsb7qg6CwI39yMvO5YbmKOVEef9oLd2jUbEM+jYPE+E= -github.com/aerogo/aero v1.3.44/go.mod h1:KXIh0vmCV1s2rFn4it5MbneyZtXCT6U76m6H0/47bFI= +github.com/aerogo/aero v1.3.46 h1:HbdZ7T70l17wm0mTdp9waqajPgwmv2I4YDaLA03Yuh0= +github.com/aerogo/aero v1.3.46/go.mod h1:KXIh0vmCV1s2rFn4it5MbneyZtXCT6U76m6H0/47bFI= github.com/aerogo/api v0.2.3 h1:REQR3a6WXzaHpNSF9NCjj4HjvSQdcHrMWGnp/xIpCh4= github.com/aerogo/api v0.2.3/go.mod h1:cClK+FXNc0IRGdDxAH5XmtibBxwUXCM2lLKMF7jKB+8= github.com/aerogo/cluster v0.1.8 h1:N/jU2t7kQfKjXzQIArBQvtNkJCiaP9+jgdEid3P2Omc= diff --git a/pages/embed/embed.go b/pages/embed/embed.go index 3a4c1b92..cdb19414 100644 --- a/pages/embed/embed.go +++ b/pages/embed/embed.go @@ -13,7 +13,7 @@ func Get(ctx aero.Context) error { user := arn.GetUserFromContext(ctx) if user == nil { - return ctx.HTML(components.Login("_blank")) + return ctx.HTML(components.Login("")) } if !user.HasBasicInfo() {