We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18ccbf3 commit 7676f85Copy full SHA for 7676f85
middleware/jwt.go
@@ -77,7 +77,7 @@ var (
77
//
78
// See: https://jwt.io/introduction
79
// See `JWTConfig.TokenLookup`
80
-func JWT(key []byte) echo.MiddlewareFunc {
+func JWT(key interface{}) echo.MiddlewareFunc {
81
c := DefaultJWTConfig
82
c.SigningKey = key
83
return JWTWithConfig(c)
0 commit comments