mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-05-20 11:59:04 -05:00
Remove SameSite cookie attribute for session cookies to simplify cookie handling in auth service
This commit is contained in:
@@ -19,7 +19,6 @@ func (s *Service) SetSessionCookie(c echo.Context, token string) {
|
||||
MaxAge: int(maxSessionAge.Seconds()),
|
||||
HttpOnly: true,
|
||||
Path: "/",
|
||||
SameSite: http.SameSiteStrictMode,
|
||||
}
|
||||
c.SetCookie(&cookie)
|
||||
}
|
||||
@@ -31,7 +30,6 @@ func (s *Service) ClearSessionCookie(c echo.Context) {
|
||||
MaxAge: -1,
|
||||
HttpOnly: true,
|
||||
Path: "/",
|
||||
SameSite: http.SameSiteStrictMode,
|
||||
}
|
||||
c.SetCookie(&cookie)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user