* src/ejabberd_auth.erl: Better handling of errors when the server for
authentication is unknown. SVN Revision: 585
This commit is contained in:
parent
9fdef5c15f
commit
6bf03a683d
|
@ -7,6 +7,8 @@
|
||||||
|
|
||||||
* src/mod_shared_roster.erl: The logged user (self) is now removed from
|
* src/mod_shared_roster.erl: The logged user (self) is now removed from
|
||||||
the shared roster list.
|
the shared roster list.
|
||||||
|
* src/ejabberd_auth.erl: Better handling of errors when the server for
|
||||||
|
authentication is unknown.
|
||||||
|
|
||||||
2006-06-19 Alexey Shchepin <alexey@sevcom.net>
|
2006-06-19 Alexey Shchepin <alexey@sevcom.net>
|
||||||
|
|
||||||
|
|
|
@ -169,6 +169,7 @@ auth_modules(Server) ->
|
||||||
LServer = jlib:nameprep(Server),
|
LServer = jlib:nameprep(Server),
|
||||||
Method = ejabberd_config:get_local_option({auth_method, LServer}),
|
Method = ejabberd_config:get_local_option({auth_method, LServer}),
|
||||||
Methods = if
|
Methods = if
|
||||||
|
Method == undefined -> [];
|
||||||
is_list(Method) -> Method;
|
is_list(Method) -> Method;
|
||||||
is_atom(Method) -> [Method]
|
is_atom(Method) -> [Method]
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Reference in New Issue