mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Accept "extauth_cache: false"
Don't log a "configuration problem" message if "extauth_cache: false" is explicitly specified, as that's a valid configuration setting as per the documentation.
This commit is contained in:
parent
727197613a
commit
d350cc6361
@ -172,7 +172,9 @@ remove_user(User, Server, Password) ->
|
|||||||
get_cache_option(Host) ->
|
get_cache_option(Host) ->
|
||||||
case ejabberd_config:get_option(
|
case ejabberd_config:get_option(
|
||||||
{extauth_cache, Host},
|
{extauth_cache, Host},
|
||||||
fun(I) when is_integer(I), I > 0 -> I end) of
|
fun(false) -> undefined;
|
||||||
|
(I) when is_integer(I), I > 0 -> I
|
||||||
|
end) of
|
||||||
undefined -> false;
|
undefined -> false;
|
||||||
CacheTime -> {true, CacheTime}
|
CacheTime -> {true, CacheTime}
|
||||||
end.
|
end.
|
||||||
|
Loading…
Reference in New Issue
Block a user