Fix more Dialyzer warnings

This commit is contained in:
Badlop 2011-08-22 22:26:54 +02:00
parent fef8c3a1f3
commit 7d3633e91c
2 changed files with 6 additions and 6 deletions

View File

@ -95,14 +95,14 @@ check_cache_last_options(Server) ->
plain_password_required() ->
true.
store_type() ->
external.
%% @spec (User, Server, Password) -> bool()
%% User = string()
%% Server = string()
%% Password = string()
store_type() ->
external.
check_password(User, Server, Password) ->
case get_cache_option(Server) of
false -> check_password_extauth(User, Server, Password);

View File

@ -180,14 +180,14 @@ init(Host) ->
plain_password_required() ->
true.
store_type() ->
external.
%% @spec (User, Server, Password) -> bool()
%% User = string()
%% Server = string()
%% Password = string()
store_type() ->
external.
check_password(User, Server, Password) ->
%% In LDAP spec: empty password means anonymous authentication.
%% As ejabberd is providing other anonymous authentication mechanisms