aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2014-05-07 17:13:51 +0200
committerBadlop <badlop@process-one.net>2014-05-07 17:13:51 +0200
commit79a49b117526dc55810f9c0cfea4d09da49547d0 (patch)
treefc57ef7e94c3b21ce564427027c2210af7a79a56 /src
parentMerge pull request #200 from hamano/mod_offline_bug (diff)
Webadmin with extauth requires internal to run at least once (issue #201)
Diffstat (limited to 'src')
-rw-r--r--src/ejabberd_auth_external.erl6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ejabberd_auth_external.erl b/src/ejabberd_auth_external.erl
index 17944b650..51c1c620a 100644
--- a/src/ejabberd_auth_external.erl
+++ b/src/ejabberd_auth_external.erl
@@ -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