summaryrefslogtreecommitdiff
path: root/src/ejabberd_auth.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ejabberd_auth.erl')
-rw-r--r--src/ejabberd_auth.erl4
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(),