diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2017-10-31 11:04:32 +0100 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2017-10-31 11:04:32 +0100 |
commit | 675cc3e0ea5d3fe24952845859389896396d61a3 (patch) | |
tree | 7e0550c2413b4dfd860a855c29949996330f559c /src/ejabberd_auth.erl | |
parent | Show real jid in mucsub subscription change events (diff) |
Allow auth and pubsub plugin to use Elixir module
Diffstat (limited to 'src/ejabberd_auth.erl')
-rw-r--r-- | src/ejabberd_auth.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ejabberd_auth.erl b/src/ejabberd_auth.erl index 4ab82a4e..f49bef43 100644 --- a/src/ejabberd_auth.erl +++ b/src/ejabberd_auth.erl @@ -735,8 +735,8 @@ auth_modules(Server) -> LServer = jid:nameprep(Server), Default = ejabberd_config:default_db(LServer, ?MODULE), Methods = ejabberd_config:get_option({auth_method, LServer}, [Default]), - [misc:binary_to_atom(<<"ejabberd_auth_", - (misc:atom_to_binary(M))/binary>>) + [ejabberd:module_name([<<"ejabberd">>, <<"auth">>, + misc:atom_to_binary(M)]) || M <- Methods]. -spec match_passwords(password(), password(), |