mirror of
https://github.com/simon-ding/polaris.git
synced 2026-03-01 23:20:47 +08:00
fix: logout
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user