From f981a2ef1700e01c622890503d644c18d8a4378e Mon Sep 17 00:00:00 2001 From: Evgeny Khramtsov Date: Fri, 25 Oct 2019 18:30:50 +0300 Subject: Improve jwt_key validator --- src/econf.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/econf.erl') diff --git a/src/econf.erl b/src/econf.erl index 6b21b111..42bc0f6c 100644 --- a/src/econf.erl +++ b/src/econf.erl @@ -162,7 +162,7 @@ format_error({bad_cert, Why, Path}) -> format_error({bad_jwt_key, Path}) -> format("No valid JWT key found in file: ~ts", [Path]); format_error({bad_jwt_key_set, Path}) -> - format("JWT key contains JWK set in file: ~ts", [Path]); + format("JWK set contains multiple JWT keys in file: ~ts", [Path]); format_error({bad_jid, Bad}) -> format("Invalid XMPP address: ~ts", [Bad]); format_error({bad_user, Bad}) -> -- cgit v1.2.3