From 02f1863bf5844eeb19c6d56526bf53105552c1f3 Mon Sep 17 00:00:00 2001
From: kober <Katrin_Stephanie.Kober@Student.Reutlingen-University.DE>
Date: Mon, 12 May 2025 16:49:08 +0200
Subject: [PATCH] Day2-fix

---
 src/genjwt/go.mod    | 2 +-
 src/myaktion/go.mod  | 1 +
 src/myaktion/go.sum  | 2 ++
 src/myaktion/main.go | 3 ++-
 4 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/genjwt/go.mod b/src/genjwt/go.mod
index fbb800d..f3f008a 100644
--- a/src/genjwt/go.mod
+++ b/src/genjwt/go.mod
@@ -2,4 +2,4 @@ module gitlab.reutlingen-university.de/kober/myaktion-go/src/genjwt
 
 go 1.24.2
 
-require github.com/golang-jwt/jwt/v5 v5.2.2 // indirect
+require github.com/golang-jwt/jwt/v5 v5.2.2
diff --git a/src/myaktion/go.mod b/src/myaktion/go.mod
index f3e37cd..b1a2f7e 100644
--- a/src/myaktion/go.mod
+++ b/src/myaktion/go.mod
@@ -7,6 +7,7 @@ require github.com/sirupsen/logrus v1.9.3
 require (
 	filippo.io/edwards25519 v1.1.0 // indirect
 	github.com/go-sql-driver/mysql v1.9.2 // indirect
+	github.com/golang-jwt/jwt/v5 v5.2.2 // indirect
 	github.com/gorilla/mux v1.8.1 // indirect
 	github.com/jinzhu/inflection v1.0.0 // indirect
 	github.com/jinzhu/now v1.1.5 // indirect
diff --git a/src/myaktion/go.sum b/src/myaktion/go.sum
index d079fc6..461d38b 100644
--- a/src/myaktion/go.sum
+++ b/src/myaktion/go.sum
@@ -5,6 +5,8 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
 github.com/go-sql-driver/mysql v1.7.0/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI=
 github.com/go-sql-driver/mysql v1.9.2 h1:4cNKDYQ1I84SXslGddlsrMhc8k4LeDVj6Ad6WRjiHuU=
 github.com/go-sql-driver/mysql v1.9.2/go.mod h1:qn46aNg1333BRMNU69Lq93t8du/dwxI64Gl8i5p1WMU=
+github.com/golang-jwt/jwt/v5 v5.2.2 h1:Rl4B7itRWVtYIHFrSNd7vhTiz9UpLdi6gZhZ3wEeDy8=
+github.com/golang-jwt/jwt/v5 v5.2.2/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk=
 github.com/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY=
 github.com/gorilla/mux v1.8.1/go.mod h1:AKf9I4AEqPTmMytcMc0KkNouC66V3BtZ4qD5fmWSiMQ=
 github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E=
diff --git a/src/myaktion/main.go b/src/myaktion/main.go
index 2d62a21..1867d14 100644
--- a/src/myaktion/main.go
+++ b/src/myaktion/main.go
@@ -8,9 +8,10 @@ import (
 	"os"
 	"strings"
 
-	"github.com/golang-jwt/jwt"
 	log "github.com/sirupsen/logrus"
 
+	"github.com/golang-jwt/jwt/v5"
+
 	"github.com/gorilla/mux"
 	"gitlab.reutlingen-university.de/kober/myaktion-go/src/myaktion/handler"
 	//"gitlab.reutlingen-university.de/kober/myaktion-go/src/myaktion/model"
-- 
GitLab