hugo-cms/models/cookie.go
2025-02-01 10:56:59 +11:00

15 lines
205 B
Go

package models
const (
AuthCookieName = "hugocrm_auth"
PrefCookieName = "hugocrm_pref"
)
type AuthCookie struct {
UserID int64 `json:"uid"`
}
type PrefCookie struct {
SiteID int64 `json:"siteId"`
}