Commit 29262cdb authored by JC Brand's avatar JC Brand

mention how to pass in domain for anon connections

parent af891096
...@@ -53,6 +53,8 @@ This enables anonymous login if the XMPP server supports it. This option can be ...@@ -53,6 +53,8 @@ This enables anonymous login if the XMPP server supports it. This option can be
used together with `auto_login`_ to automatically and anonymously log a user in used together with `auto_login`_ to automatically and anonymously log a user in
as soon as the page loads. as soon as the page loads.
The server's domain is passed in via the `jid`_ setting.
prebind prebind
~~~~~~~ ~~~~~~~
...@@ -206,6 +208,9 @@ It should be used either with ``authentication`` set to ``anonymous`` or to ``lo ...@@ -206,6 +208,9 @@ It should be used either with ``authentication`` set to ``anonymous`` or to ``lo
If ``authentication`` is set to ``login``, then you will also need to provide a If ``authentication`` is set to ``login``, then you will also need to provide a
valid ``jid`` and ``password`` values. valid ``jid`` and ``password`` values.
If ``authentication`` is set to ``anonymous``, then you will also need to provide the
server's domain via the `jid`_ setting.
This is a useful setting if you'd like to create a custom login form in your This is a useful setting if you'd like to create a custom login form in your
website. You'll need to write some Javascript to accept that custom form's website. You'll need to write some Javascript to accept that custom form's
login credentials, then you can pass those credentials (``jid`` and login credentials, then you can pass those credentials (``jid`` and
......
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