Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Fix small jwt comment typo

天舟52927831a0d7
diff --git a/server/jwt.go b/server/jwt.go
index 12ad2ecd62..28834f7680 100644
--- a/server/jwt.go
+++ b/server/jwt.go
@@ -129,7 +129,7 @@ func setTokenCookie(c echo.Context, name, token string, expiration time.Time) {
c.SetCookie(cookie)
}
-// Purpose of this cookie is to store the user's name.
+// Purpose of this cookie is to store the user's id.
func setUserCookie(c echo.Context, user *api.Principal, expiration time.Time) {
cookie := new(http.Cookie)
cookie.Name = "user"