More than one external auth script

Hi,
I have two domains and I would like to have two external scripts to authenticate users, one for each domain. Is it possible?

Try something like

Try something like this:

hosts:
  - "localhost"
  - "capulet.com"

auth_method: external

host_config:
  "localhost":
    extauth_program: "/ejabberd/check_pass_null_localhost.pl"
  "capulet.com":
    extauth_program: "/ejabberd/check_pass_null_capulet.pl"

Thanks! It works

Thanks! It works

Syndicate content