aboutsummaryrefslogtreecommitdiff
path: root/src/ejabberd_option.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ejabberd_option.erl')
-rw-r--r--src/ejabberd_option.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ejabberd_option.erl b/src/ejabberd_option.erl
index 7ba1db170..82a03491c 100644
--- a/src/ejabberd_option.erl
+++ b/src/ejabberd_option.erl
@@ -424,10 +424,10 @@ include_config_file() ->
include_config_file(Host) ->
ejabberd_config:get_option({include_config_file, Host}).
--spec jwt_key() -> binary().
+-spec jwt_key() -> jose_jwk:key().
jwt_key() ->
jwt_key(global).
--spec jwt_key(global | binary()) -> binary().
+-spec jwt_key(global | binary()) -> jose_jwk:key().
jwt_key(Host) ->
ejabberd_config:get_option({jwt_key, Host}).