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:
parent
16f758e13f
commit
f40a7b1c77
@ -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…
Reference in New Issue
Block a user