Set cookie's SameSite attribute (fixes #245)
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user