appleboy/gin-jwt

not enough arguments in call to c.SetCookie

lucky51 opened this issue · 1 comments

image

go build github.com/appleboy/gin-jwt/v2 ....\golang\pkg\mod\github.com\appleboy\gin-jwt\v2@v2.6.3\auth_jwt.go:457:14: not enough arguments in call to c.SetCookie

env : go SDK 1.14 ,gin v1.6.0

c.SetCookie(
mw.CookieName,
tokenString,
maxage,
"/",
mw.CookieDomain,
//http.SameSiteLaxMode,
mw.SecureCookie,
mw.CookieHTTPOnly,
)