diff --git a/app/http/endpoints/root/callback.go b/app/http/endpoints/root/callback.go index 1ed6008..2aff41d 100644 --- a/app/http/endpoints/root/callback.go +++ b/app/http/endpoints/root/callback.go @@ -6,8 +6,8 @@ import ( "github.com/TicketsBot/GoPanel/config" "github.com/TicketsBot/GoPanel/utils" "github.com/TicketsBot/GoPanel/utils/discord" - "github.com/dgrijalva/jwt-go" "github.com/gin-gonic/gin" + "github.com/golang-jwt/jwt" "github.com/rxdn/gdl/rest" "strconv" "time" diff --git a/app/http/endpoints/root/webchatws.go b/app/http/endpoints/root/webchatws.go index b3cee82..7ac6a46 100644 --- a/app/http/endpoints/root/webchatws.go +++ b/app/http/endpoints/root/webchatws.go @@ -9,8 +9,8 @@ import ( "github.com/TicketsBot/GoPanel/utils" "github.com/TicketsBot/common/permission" "github.com/TicketsBot/common/premium" - "github.com/dgrijalva/jwt-go" "github.com/gin-gonic/gin" + "github.com/golang-jwt/jwt" "github.com/gorilla/websocket" "net/http" "strconv" diff --git a/app/http/middleware/authenticatetoken.go b/app/http/middleware/authenticatetoken.go index bcb7db3..98932f5 100644 --- a/app/http/middleware/authenticatetoken.go +++ b/app/http/middleware/authenticatetoken.go @@ -4,8 +4,8 @@ import ( "fmt" "github.com/TicketsBot/GoPanel/config" "github.com/TicketsBot/GoPanel/utils" - "github.com/dgrijalva/jwt-go" "github.com/gin-gonic/gin" + "github.com/golang-jwt/jwt" "strconv" ) diff --git a/go.mod b/go.mod index 5d6a071..5f03c10 100644 --- a/go.mod +++ b/go.mod @@ -15,10 +15,10 @@ require ( github.com/gin-gonic/contrib v0.0.0-20191209060500-d6e26eeaa607 github.com/gin-gonic/gin v1.7.1 github.com/go-redis/redis v6.15.9+incompatible + github.com/golang-jwt/jwt v3.2.1+incompatible github.com/gorilla/sessions v1.2.0 // indirect github.com/gorilla/websocket v1.4.2 github.com/jackc/pgx/v4 v4.7.1 - github.com/joho/godotenv v1.3.0 // indirect github.com/pasztorpisti/qs v0.0.0-20171216220353-8d6c33ee906c github.com/pkg/errors v0.9.1 github.com/rxdn/gdl v0.0.0-20210701115435-816eb486d5d0