Skip to content
Snippets Groups Projects
Commit 6577b086 authored by ale's avatar ale
Browse files

Encode services JSON as a string

parent 70cd91e6
Branches
No related tags found
No related merge requests found
......@@ -256,7 +256,8 @@ func (h *Server) handleLogout(w http.ResponseWriter, req *http.Request, session
if req.Method == "POST" {
data["IsPOST"] = true
data["IncludeLogoutScripts"] = true
data["ServicesJSON"], _ = json.Marshal(svcs)
svcJSON, _ := json.Marshal(svcs)
data["ServicesJSON"] = string(svcJSON)
// Clear the local session.
httpSession, _ := h.authSessionStore.Get(req, authSessionKey)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment