Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: tweak cookie attrs
Steven9e72432f1958
diff --git a/api/v2/auth_service.go b/api/v2/auth_service.goindex 25a43a4ac..059ef7cd8 100644--- a/api/v2/auth_service.go+++ b/api/v2/auth_service.go@@ -231,7 +231,7 @@ func (*APIV2Service) SignOut(ctx context.Context, _ *apiv2pb.SignOutRequest) (*afunc clearAccessTokenCookie(ctx context.Context) error {if err := grpc.SetHeader(ctx, metadata.New(map[string]string{- "Set-Cookie": fmt.Sprintf("%s=; Path=/; Expires=Thu, 01 Jan 1970 00:00:00 GMT; HttpOnly; SameSite=Strict", auth.AccessTokenCookieName),+ "Set-Cookie": fmt.Sprintf("%s=; Path=/; Expires=Thu, 01 Jan 1970 00:00:00 GMT; HttpOnly; SameSite=None; Secure", auth.AccessTokenCookieName),})); err != nil {return errors.Wrap(err, "failed to set grpc header")}