diff options
author | Christoph Burschka | 2016-04-04 18:35:21 +0000 |
---|---|---|
committer | Christoph Burschka | 2016-04-04 18:35:21 +0000 |
commit | 8cd148bdb2be52b16cc4dc57a501f194c1ffb58b (patch) | |
tree | e3a500052cc560834e02c5f5befe46ebf4adb036 /plugins/htpasswd/README.md | |
parent | Test with domain argument. (diff) | |
download | ejabberd-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.md | 9 |
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>', + ] + ] |