fix: logout

This commit is contained in:
Simon Ding
2024-09-02 14:07:47 +08:00
parent 32b595e116
commit ca414a73ff

View File

@@ -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
}