]> granicus.if.org Git - ejabberd/commitdiff
Fix more Dialyzer warnings
authorBadlop <badlop@process-one.net>
Mon, 22 Aug 2011 20:26:54 +0000 (22:26 +0200)
committerBadlop <badlop@process-one.net>
Mon, 22 Aug 2011 20:26:54 +0000 (22:26 +0200)
src/ejabberd_auth_external.erl
src/ejabberd_auth_ldap.erl

index d5ae7198adca20091d521a4e7ee9441cfc6025bd..ddaac633e2af51e15e145f08685d3dc1b7f20afb 100644 (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);
index 61b2fa4077390c0b671a4515821400a442b5b4d3..5db6187e12d2e40ee4e4354c17846433b7c66fef 100644 (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