Send an identifier alongside with error message in OAuthController
This commit is contained in:
parent
b35a0f0ce4
commit
0f9c2c8b87
3 changed files with 31 additions and 5 deletions
|
|
@ -852,6 +852,7 @@ defmodule Pleroma.Web.OAuth.OAuthControllerTest do
|
|||
assert resp = json_response(conn, 403)
|
||||
|
||||
assert resp["error"] == "Password reset is required"
|
||||
assert resp["identifier"] == "password_reset_required"
|
||||
refute Map.has_key?(resp, "access_token")
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue