diff --git a/bigbluebutton-html5/imports/startup/client/auth.js b/bigbluebutton-html5/imports/startup/client/auth.js index b70a1549a82338a2ef24bd3dc8982013605c932b..bc4c15923e7f84347e637bc2876760413e1d0c3d 100644 --- a/bigbluebutton-html5/imports/startup/client/auth.js +++ b/bigbluebutton-html5/imports/startup/client/auth.js @@ -1,5 +1,5 @@ import Auth from '/imports/ui/services/auth'; -import { logClient } from '/imports/ui/services/api'; +import { log } from '/imports/ui/services/api'; // disconnected and trying to open a new connection const STATUS_CONNECTING = 'connecting'; @@ -88,11 +88,7 @@ export function authenticatedRouteHandler(nextState, replace, callback) { Auth.authenticate() .then(callback) .catch((reason) => { - logClient('error', { - error: reason, - method: 'authenticatedRouteHandler', - credentialsSnapshot, - }); + log('error', reason); // make sure users who did not connect are not added to the meeting // do **not** use the custom call - it relies on expired data