Set cookie's SameSite attribute (fixes #245)

This commit is contained in:
2019-11-18 11:27:50 +09:00
parent 1ddcd4d570
commit 93af640d53
3 changed files with 4 additions and 4 deletions

View File

@ -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() {