瀏覽代碼

mention how to pass in domain for anon connections

JC Brand 9 年之前
父節點
當前提交
29262cdbe2
共有 1 個文件被更改,包括 5 次插入0 次删除
  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
 as soon as the page loads.
 
+The server's domain is passed in via the `jid`_ setting.
+
 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
 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
 website. You'll need to write some Javascript to accept that custom form's
 login credentials, then you can pass those credentials (``jid`` and