diff options
author | Robert Zorko <robertz@gurucue.com> | 2015-10-21 13:59:09 +0200 |
---|---|---|
committer | Robert Zorko <robertz@gurucue.com> | 2015-10-21 13:59:09 +0200 |
commit | 1192ab7b464b614c8c41e7d33f3135370fa83696 (patch) | |
tree | 9d7ff33189563b1cec14acef476bc3756237624f /web | |
parent | 591dbb2ec40bb3956e71e4660aeb9d139033fb9a (diff) |
fix for the forgotten samlData
Diffstat (limited to 'web')
-rw-r--r-- | web/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |