Fixes authentication issues.
This commit is contained in:
parent
e766bad4ce
commit
98d1ca8505
|
@ -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…
Reference in New Issue