Webadmin with extauth requires internal to run at least once (issue #201)

This commit is contained in:
Badlop 2014-05-07 17:13:51 +02:00
parent c511194c2e
commit 79a49b1175
1 changed files with 2 additions and 4 deletions

View File

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