diff --git a/backend/internal/handlers/auth.go b/backend/internal/handlers/auth.go index 4af9822..2da17a5 100644 --- a/backend/internal/handlers/auth.go +++ b/backend/internal/handlers/auth.go @@ -238,6 +238,7 @@ func (h *Handler) HandleAuthenticate(w http.ResponseWriter, r *http.Request) { } slog.Info("Incoming session is authenticated") sessionUser, ok := session.Values["user"].(string) + session.Save(r, w) slog.Info(sessionUser) if !ok { h.logError(w, "error while fetching user details from session", err, http.StatusInternalServerError)