diff --git a/bigbluebutton-html5/imports/ui/components/join-handler/component.jsx b/bigbluebutton-html5/imports/ui/components/join-handler/component.jsx index f1bfd5c9e311aab365bb2d2a841a921ca4d13dd6..433be3f486ed7f19e5c91829e271cfe7093ab26f 100644 --- a/bigbluebutton-html5/imports/ui/components/join-handler/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/join-handler/component.jsx @@ -71,7 +71,11 @@ class JoinHandler extends Component { return resp; }; - const setLogoutURL = (url) => Auth.logoutURL = url; + const setLogoutURL = (url) => { + Auth.logoutURL = url; + return true; + }; + const setLogoURL = (resp) => { setCustomLogoUrl(resp.customLogoURL); return resp; @@ -97,10 +101,10 @@ class JoinHandler extends Component { .then((resp) => { setLogoutURL(resp.logoutURL); if (resp.returncode !== 'FAILED') { - logger.info(`User successfully went through main.joinRouteHandler with [${resp}].`); + logger.info(`User successfully went through main.joinRouteHandler with [${JSON.stringify(resp)}].`); return resolve(resp); } - const e = new Error('Session not found'); + const e = new Error('Session not found'); logger.error(`User faced [${e}] on main.joinRouteHandler. Error was:`, JSON.stringify(resp)); return reject(e); });