]> granicus.if.org Git - ejabberd/commitdiff
Webadmin with extauth requires internal to run at least once (issue #201)
authorBadlop <badlop@process-one.net>
Wed, 7 May 2014 15:13:51 +0000 (17:13 +0200)
committerBadlop <badlop@process-one.net>
Wed, 7 May 2014 15:13:51 +0000 (17:13 +0200)
src/ejabberd_auth_external.erl

index 17944b65036a63799f5ce443f8e6069f2cd12f4a..51c1c620a49c28515154a77def37f51a39799016 100644 (file)
@@ -54,10 +54,8 @@ start(Host) ->
             end,
             "extauth"),
     extauth:start(Host, Cmd),
-    case check_cache_last_options(Host) of
-      cache -> ok = ejabberd_auth_internal:start(Host);
-      no_cache -> ok
-    end.
+    check_cache_last_options(Host),
+    ejabberd_auth_internal:start(Host).
 
 check_cache_last_options(Server) ->
     case get_cache_option(Server) of