From 1192ab7b464b614c8c41e7d33f3135370fa83696 Mon Sep 17 00:00:00 2001 From: Robert Zorko Date: Wed, 21 Oct 2015 13:59:09 +0200 Subject: fix for the forgotten samlData --- web/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/main.js b/web/main.js index 15e855a..858408c 100644 --- a/web/main.js +++ b/web/main.js @@ -190,7 +190,7 @@ var guiHandlers = { return sendDataToPython(message); }) .then(function (jsonObj) { - if (jsonObj.code !== 0) session.samlData = samlData; // we need the SAML data to be able to perform global logout (saml_logout action) + if (jsonObj.code === 0) session.samlData = samlData; // we need the SAML data to be able to perform global logout (saml_logout action) session.send(jsonObj); }) .catch(function (e) { -- cgit v1.2.1