mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 01:39:35 +02:00
OAuth: Handle badpass error message
This commit is contained in:
parent
16f758e13f
commit
f40a7b1c77
1 changed files with 1 additions and 0 deletions
|
@ -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">>.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue