aboutsummaryrefslogtreecommitdiff
path: root/weed/security/jwt.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-07-22 10:22:09 -0700
committerChris Lu <chris.lu@gmail.com>2021-07-22 10:22:09 -0700
commit60f5c0a2f57748727b236c09377d02a06b7b4aaa (patch)
treeb079e6fde378134f96f5177495fc61f2fb50fe0d /weed/security/jwt.go
parentf3746d350fc7e8614ba60ada6002d11d6deb5328 (diff)
downloadseaweedfs-60f5c0a2f57748727b236c09377d02a06b7b4aaa.tar.xz
seaweedfs-60f5c0a2f57748727b236c09377d02a06b7b4aaa.zip
fix security alert on github.com/dgrijalva/jwt-go
resolve https://github.com/chrislusf/seaweedfs/security/dependabot/go.mod/github.com%2Fdgrijalva%2Fjwt-go/open
Diffstat (limited to 'weed/security/jwt.go')
-rw-r--r--weed/security/jwt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/security/jwt.go b/weed/security/jwt.go
index 0bd7fa974..7327f7b8b 100644
--- a/weed/security/jwt.go
+++ b/weed/security/jwt.go
@@ -7,7 +7,7 @@ import (
"time"
"github.com/chrislusf/seaweedfs/weed/glog"
- jwt "github.com/dgrijalva/jwt-go"
+ "github.com/golang-jwt/jwt"
)
type EncodedJwt string