Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
fe8b2572
Commit
fe8b2572
authored
May 19, 2018
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Looks like we stopped supporting EXTERNAL auth
parent
c9207258
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/converse-core.js
src/converse-core.js
+2
-2
No files found.
src/converse-core.js
View file @
fe8b2572
...
@@ -1009,7 +1009,7 @@
...
@@ -1009,7 +1009,7 @@
"
(via credentials_url).
"
"
(via credentials_url).
"
);
);
}
else
{
}
else
{
this
.
autoLogin
();
//
Probably ANONYMOUS login
this
.
autoLogin
();
//
Could be ANONYMOUS or EXTERNAL
}
}
}
else
if
(
reconnecting
)
{
}
else
if
(
reconnecting
)
{
this
.
autoLogin
();
this
.
autoLogin
();
...
@@ -1022,7 +1022,7 @@
...
@@ -1022,7 +1022,7 @@
// so we set them on the converse object.
// so we set them on the converse object.
this
.
jid
=
credentials
.
jid
;
this
.
jid
=
credentials
.
jid
;
}
}
if
(
this
.
authentication
===
_converse
.
ANONYMOUS
)
{
if
(
this
.
authentication
===
_converse
.
ANONYMOUS
||
this
.
authentication
===
_converse
.
EXTERNAL
)
{
if
(
!
this
.
jid
)
{
if
(
!
this
.
jid
)
{
throw
new
Error
(
"
Config Error: when using anonymous login
"
+
throw
new
Error
(
"
Config Error: when using anonymous login
"
+
"
you need to provide the server's domain via the 'jid' option.
"
+
"
you need to provide the server's domain via the 'jid' option.
"
+
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment