summaryrefslogtreecommitdiff
path: root/plugins/htpasswd/README.md
diff options
context:
space:
mode:
authorChristoph Burschka2016-04-04 18:35:21 +0000
committerChristoph Burschka2016-04-04 18:35:21 +0000
commit8cd148bdb2be52b16cc4dc57a501f194c1ffb58b (patch)
treee3a500052cc560834e02c5f5befe46ebf4adb036 /plugins/htpasswd/README.md
parentTest with domain argument. (diff)
downloadejabberd-auth-php-8cd148bdb2be52b16cc4dc57a501f194c1ffb58b.tar.gz
Add multi-domain support to htpasswd plugin.
Each domain can now use its own htpasswd file.
Diffstat (limited to 'plugins/htpasswd/README.md')
-rw-r--r--plugins/htpasswd/README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/htpasswd/README.md b/plugins/htpasswd/README.md
index b7b8bcb..66f46ca 100644
--- a/plugins/htpasswd/README.md
+++ b/plugins/htpasswd/README.md
@@ -26,3 +26,12 @@ This configuration must be entered into plugin_conf in config.php:
'htpasswd_file' => '</path/to/htpasswd/file>',
'plain' => FALSE, // optional
]
+
+Each domain can use a separate file, as in:
+
+ 'plugin_conf' => [
+ 'htpasswd_file' => [
+ 'example.com' => '<com.htpasswd>',
+ 'example.org' => '<org.htpasswd>',
+ ]
+ ]