feat(security): #286 fix test
Some checks failed
Build Docker Image / Build-Docker-Image (push) Failing after 36s

This commit is contained in:
2024-12-08 23:21:29 +01:00
parent c9e0188b60
commit 7475d56949
8 changed files with 80 additions and 722 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
}