Procházet zdrojové kódy

mention how to pass in domain for anon connections

JC Brand před 9 roky
rodič
revize
29262cdbe2
1 změnil soubory, kde provedl 5 přidání a 0 odebrání
  1. 5 0
      docs/source/configuration.rst

+ 5 - 0
docs/source/configuration.rst

@@ -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
 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