summaryrefslogtreecommitdiff
path: root/web/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/main.js')
-rw-r--r--web/main.js2
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) {