Skip to content

Commit

Permalink
fix: remove cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
bookpanda committed Aug 16, 2024
1 parent 4b1cb99 commit 4d90ecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/internal/auth/auth.handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func (h *handlerImpl) Signout(c context.Ctx) {
}

// remove cookie
c.SetCookie("CASTGC", "", -1, "/", "localhost", false, true)
c.SetCookie("CASTGC", "", -1, "/", h.conf.CookieDomain, false, true)

for _, service := range h.conf.Services {
apperr := h.svc.SignoutService(c.RequestContext(), service, session.UserID.String())
Expand Down

0 comments on commit 4d90ecf

Please sign in to comment.