diff --git a/modules/UI/authentication/LoginDialog.js b/modules/UI/authentication/LoginDialog.js
index 50dff3d3b..dd52602e3 100644
--- a/modules/UI/authentication/LoginDialog.js
+++ b/modules/UI/authentication/LoginDialog.js
@@ -24,7 +24,6 @@ function Dialog(callback, obtainSession) {
var message = '
';
message += APP.translation.translateString("dialog.passwordRequired");
- // ++__authdomain__
message += '
' +
'';
- // --__authdomain__
var okButton = APP.translation.generateTranslationHTML("dialog.Ok");
@@ -56,7 +54,6 @@ function Dialog(callback, obtainSession) {
var password = f.password;
if (jid && password) {
stop = false;
- //++__authdomain__ complete jid by appending @ if no @ was found in jid
if (jid.indexOf("@") < 0) {
jid = jid.concat('@');
if (config.hosts.authdomain) {
@@ -65,7 +62,6 @@ function Dialog(callback, obtainSession) {
jid += config.hosts.domain;
}
}
- // --__authdomain__
connection.reset();
connDialog.goToState('connecting');
connection.connect(jid, password, stateHandler);