feat(security): #286 fix test
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 52s

This commit is contained in:
2024-12-08 23:18:02 +01:00
parent a2fa988616
commit 25bfb67b71
8 changed files with 81 additions and 703 deletions

View File

@@ -2,6 +2,7 @@ package middleware
import (
"context"
"me-fit/service"
"net/http"
@@ -43,5 +44,5 @@ func getSessionID(r *http.Request) string {
return ""
}
return cookie.Name
return cookie.Value
}

View File

@@ -2,9 +2,10 @@ package middleware
import (
"fmt"
"me-fit/service"
"strings"
"me-fit/service"
"net/http"
)