summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Burschka2014-11-14 15:09:12 +0100
committerChristoph Burschka2014-11-14 15:09:12 +0100
commit954dd87d240632a75ebe81de5e87ef2c02b3942d (patch)
tree34a91a449f433c35424e1b62c00b4f1966438d2c
parentFix #7: Fix the pruning query. (diff)
downloadejabberd-auth-php-954dd87d240632a75ebe81de5e87ef2c02b3942d.tar.gz
Update README for ejabberd 13.10+
ejabberd has switched to YAML configuration files.
-rw-r--r--README.md15
1 files changed, 13 insertions, 2 deletions
diff --git a/README.md b/README.md
index 2a0a77f..f42991d 100644
--- a/README.md
+++ b/README.md
@@ -26,12 +26,23 @@ values.
If you want to add session authentication, also read [plugins/session/README.md](
plugins/session/README.md). Otherwise, remove the relevant section of `config.php`.
-Open your ejabberd configuration (`/etc/ejabberd/ejabberd.cfg`) and set the
-external authentication script:
+Open your ejabberd configuration and set the external authentication script:
+
+### ejabberd < 13.10 ###
+
+The configuration file should be located at `/etc/ejabberd/ejabberd.cfg`. Find, uncomment
+and edit the following lines.
{auth_method, external}.
{extauth_program, ".../ejabberd-auth-php/main.php"}.
+### ejabberd 13.10+ ###
+
+The configuration file is at `/etc/ejabberd/ejabberd.yml`.
+
+ auth_method: external
+ extauth_program: ".../ejabberd-auth-php/main.php"
+
Extending
---------