From abd2a3d3ea6d1db4d19640af1722524576f23377 Mon Sep 17 00:00:00 2001 From: Ruben Meyer <46384706+rxbnDE@users.noreply.github.com> Date: Sat, 7 Mar 2020 00:44:32 +0100 Subject: [PATCH] bugfix - broken authentication verification --- bin/sso/module.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/sso/module.js b/bin/sso/module.js index cd043ff..0c3b84c 100644 --- a/bin/sso/module.js +++ b/bin/sso/module.js @@ -38,8 +38,9 @@ functions.authenticateUser = (obj, callback) => { try { if(typeof body !== "object") body = JSON.parse(body); return callback(err, body.access); - } catch(e) {} - callback(new Error("Body is misformed")); + } catch(e) { + callback(new Error("Body is misformed")); + } }); };