Commit fe8b2572 authored by JC Brand's avatar JC Brand

Looks like we stopped supporting EXTERNAL auth

parent c9207258
......@@ -1009,7 +1009,7 @@
"(via credentials_url)."
);
} else {
this.autoLogin(); // Probably ANONYMOUS login
this.autoLogin(); // Could be ANONYMOUS or EXTERNAL
}
} else if (reconnecting) {
this.autoLogin();
......@@ -1022,7 +1022,7 @@
// so we set them on the converse object.
this.jid = credentials.jid;
}
if (this.authentication === _converse.ANONYMOUS) {
if (this.authentication === _converse.ANONYMOUS || this.authentication === _converse.EXTERNAL) {
if (!this.jid) {
throw new Error("Config Error: when using anonymous login " +
"you need to provide the server's domain via the 'jid' option. " +
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment