Skip to content

Commit 3f046ee

Browse files
committed
migrated to golang-jwt
1 parent b070825 commit 3f046ee

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ module rmtly-server
33
go 1.17
44

55
require (
6-
github.com/dgrijalva/jwt-go v3.2.0+incompatible
76
github.com/free-bots/GopplicationEntry v0.0.0-20210310163550-780a94942a8d
7+
github.com/golang-jwt/jwt v3.2.2+incompatible
88
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
99
github.com/gorilla/handlers v1.5.1
1010
github.com/gorilla/mux v1.8.0

security/interfaces/claims.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package interfaces
22

3-
import "github.com/dgrijalva/jwt-go"
3+
import "github.com/golang-jwt/jwt"
44

55
type Claims struct {
66
DeviceId string

security/services/jwtService.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package services
22

33
import (
44
"fmt"
5-
"github.com/dgrijalva/jwt-go"
5+
"github.com/golang-jwt/jwt"
66
configService "rmtly-server/config/services"
77
"rmtly-server/security/interfaces"
88
"time"

0 commit comments

Comments
 (0)