Commit 28f5ee85 authored by JC Brand's avatar JC Brand

Fixes #546

parent 19ad5728
...@@ -201,12 +201,17 @@ auto_login ...@@ -201,12 +201,17 @@ auto_login
This option can be used to let converse.js automatically log the user in as This option can be used to let converse.js automatically log the user in as
soon as the page loads. soon as the page loads.
It should be used either with ``authentication`` set to ``anonymous`` or to It should be used either with ``authentication`` set to ``anonymous`` or to ``login``.
``login``.
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.
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
``password``) to ``converse.initialize`` to start converse.js and log the user
into their XMPP account.
auto_away auto_away
--------- ---------
......
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