Skip to content

Commit

Permalink
fix: logout
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-ding committed Sep 2, 2024
1 parent 32b595e commit ca414a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (s *Server) Logout(c *gin.Context) (interface{}, error) {
}

c.SetSameSite(http.SameSiteLaxMode)
c.SetCookie("polaris_token", "", -1, "/", "", true, false)
c.SetCookie("polaris_token", "", -1, "/", "", false, false)
return nil, nil
}

Expand Down

0 comments on commit ca414a7

Please sign in to comment.