diff --git a/web/web.go b/web/web.go index 3d7e1d57..bcf1db18 100644 --- a/web/web.go +++ b/web/web.go @@ -179,7 +179,7 @@ func (s *Server) initRouter() (*gin.Engine, error) { assetsBasePath := basePath + "assets/" store := cookie.NewStore(secret) - engine.Use(sessions.Sessions("session", store)) + engine.Use(sessions.Sessions("x-ui", store)) engine.Use(func(c *gin.Context) { c.Set("base_path", basePath) })