diff options
author | Paweł Chmielowski <pchmielowski@process-one.net> | 2019-10-15 11:18:29 +0200 |
---|---|---|
committer | Paweł Chmielowski <pchmielowski@process-one.net> | 2019-10-15 11:28:47 +0200 |
commit | 9822535e70f15651f19c20e7183dfec7de2870e3 (patch) | |
tree | 49e826809f3210401730070e740da90797168abd /src/ejabberd_options.erl | |
parent | Improve type spec of properties() (diff) |
Convert oauth_expire option to accept timeout values
Diffstat (limited to '')
-rw-r--r-- | src/ejabberd_options.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ejabberd_options.erl b/src/ejabberd_options.erl index 7bfa06ee6..126891bc2 100644 --- a/src/ejabberd_options.erl +++ b/src/ejabberd_options.erl @@ -231,7 +231,7 @@ opt_type(oauth_cache_size) -> opt_type(oauth_db_type) -> econf:db_type(ejabberd_oauth); opt_type(oauth_expire) -> - econf:non_neg_int(); + econf:timeout(second); opt_type(oauth_use_cache) -> econf:bool(); opt_type(oauth_client_id_check) -> |