Skip to content

Commit

Permalink
Use lax mode for same site cookies to make links work (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbrazier committed Apr 15, 2020
1 parent ea50c26 commit 62130d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/handler/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (h *Handler) AuthInit(e *echo.Echo) {
MaxAge: appConfig.Auth.MaxAge,
HttpOnly: true,
Secure: appConfig.Auth.SecureCookies,
SameSite: http.SameSiteStrictMode,
SameSite: http.SameSiteLaxMode,
}

store = fsStore
Expand Down

0 comments on commit 62130d0

Please sign in to comment.