Fixes authentication issues.

pull/225/head 359
hristoterezov 10 years ago
parent e766bad4ce
commit 98d1ca8505
  1. 2
      modules/UI/toolbars/Toolbar.js
  2. 2
      modules/xmpp/xmpp.js

@ -239,7 +239,7 @@ var Toolbar = (function (my) {
// Open popup with authentication URL
var authenticationWindow = Authentication.createAuthenticationWindow(function () {
// On popup closed - retry room allocation
xAPP.mpp.allocateConferenceFocus(APP.UI.getRoomName(), APP.UI.checkForNicknameAndJoin);
APP.xmpp.allocateConferenceFocus(APP.UI.getRoomName(), APP.UI.checkForNicknameAndJoin);
}, url);
if (!authenticationWindow) {
Toolbar.showAuthenticateButton(true);

@ -151,7 +151,7 @@ var XMPP = {
setupEvents();
initStrophePlugins();
registerListeners();
Moderator.init();
Moderator.init(this, eventEmitter);
var configDomain = config.hosts.anonymousdomain || config.hosts.domain;
// Force authenticated domain if room is appended with '?login=true'
if (config.hosts.anonymousdomain &&

Loading…
Cancel
Save