25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

OAuth: Handle badpass error message

This commit is contained in:
Badlop 2023-06-12 22:27:15 +02:00
parent 16f758e13f
commit f40a7b1c77

View File

@ -753,6 +753,7 @@ json_error(Code, Error, Reason) ->
json_response(Code, Body).
json_error_desc(access_denied) -> <<"Access denied">>;
json_error_desc(badpass) -> <<"Bad password">>;
json_error_desc(unsupported_grant_type) -> <<"Unsupported grant type">>;
json_error_desc(invalid_scope) -> <<"Invalid scope">>.