25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

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

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].