Merge branch 'feature/send-identifier-on-oauth-error' into 'develop'
Send an identifier alongside with error message in OAuthController See merge request pleroma/pleroma!1765
This commit is contained in:
commit
89ab673d00
3 changed files with 38 additions and 7 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