feat: finalize context functionality

This commit is contained in:
Stavros
2026-04-29 20:11:43 +03:00
parent a3ec07230c
commit 62ffd2fd11
4 changed files with 34 additions and 11 deletions
@@ -80,6 +80,7 @@ func (m *ContextMiddleware) Middleware() gin.HandlerFunc {
http.SetCookie(c.Writer, cookie)
}
tlog.App.Trace().Msgf("Authenticated user from session cookie: %s", userContext.GetUsername())
c.Set("context", userContext)
c.Next()
return