The 'default_db' option should impact ejabberd_auth as well

This commit is contained in:
Evgeniy Khramtsov 2015-03-30 12:18:18 +03:00
parent 4af15df546
commit fb1fd50df5
1 changed files with 1 additions and 1 deletions

View File

@ -432,7 +432,7 @@ auth_modules(Server) ->
V;
(V) when is_atom(V) ->
[V]
end, []),
end, [gen_mod:default_db(LServer)]),
[jlib:binary_to_atom(<<"ejabberd_auth_",
(jlib:atom_to_binary(M))/binary>>)
|| M <- Methods].