aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/auth/jwt.go
diff options
context:
space:
mode:
Diffstat (limited to 'backend/auth/jwt.go')
-rw-r--r--backend/auth/jwt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/auth/jwt.go b/backend/auth/jwt.go
index 966cc5f..e1852da 100644
--- a/backend/auth/jwt.go
+++ b/backend/auth/jwt.go
@@ -50,7 +50,7 @@ func NewShortLivedJWT(claims *JWTClaims) (string, error) {
func ParseJWT(token string) (*JWTClaims, error) {
claims := new(JWTClaims)
- t, err := jwt.ParseWithClaims(token, claims, func(t *jwt.Token) (interface{}, error) {
+ t, err := jwt.ParseWithClaims(token, claims, func(*jwt.Token) (interface{}, error) {
return []byte("TODO"), nil
})
if err != nil {