Set cookie's SameSite attribute (fixes #245)
This commit is contained in:
parent
1ddcd4d570
commit
93af640d53
2
go.mod
2
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
|
||||
|
4
go.sum
4
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=
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user