mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
Fix more Dialyzer warnings
This commit is contained in:
parent
fef8c3a1f3
commit
7d3633e91c
@ -95,14 +95,14 @@ check_cache_last_options(Server) ->
|
|||||||
plain_password_required() ->
|
plain_password_required() ->
|
||||||
true.
|
true.
|
||||||
|
|
||||||
|
store_type() ->
|
||||||
|
external.
|
||||||
|
|
||||||
%% @spec (User, Server, Password) -> bool()
|
%% @spec (User, Server, Password) -> bool()
|
||||||
%% User = string()
|
%% User = string()
|
||||||
%% Server = string()
|
%% Server = string()
|
||||||
%% Password = string()
|
%% Password = string()
|
||||||
|
|
||||||
store_type() ->
|
|
||||||
external.
|
|
||||||
|
|
||||||
check_password(User, Server, Password) ->
|
check_password(User, Server, Password) ->
|
||||||
case get_cache_option(Server) of
|
case get_cache_option(Server) of
|
||||||
false -> check_password_extauth(User, Server, Password);
|
false -> check_password_extauth(User, Server, Password);
|
||||||
|
@ -180,14 +180,14 @@ init(Host) ->
|
|||||||
plain_password_required() ->
|
plain_password_required() ->
|
||||||
true.
|
true.
|
||||||
|
|
||||||
|
store_type() ->
|
||||||
|
external.
|
||||||
|
|
||||||
%% @spec (User, Server, Password) -> bool()
|
%% @spec (User, Server, Password) -> bool()
|
||||||
%% User = string()
|
%% User = string()
|
||||||
%% Server = string()
|
%% Server = string()
|
||||||
%% Password = string()
|
%% Password = string()
|
||||||
|
|
||||||
store_type() ->
|
|
||||||
external.
|
|
||||||
|
|
||||||
check_password(User, Server, Password) ->
|
check_password(User, Server, Password) ->
|
||||||
%% In LDAP spec: empty password means anonymous authentication.
|
%% In LDAP spec: empty password means anonymous authentication.
|
||||||
%% As ejabberd is providing other anonymous authentication mechanisms
|
%% As ejabberd is providing other anonymous authentication mechanisms
|
||||||
|
Loading…
Reference in New Issue
Block a user