diff options
author | Maxim Filippov <colixer@gmail.com> | 2019-10-01 18:10:04 +0300 |
---|---|---|
committer | Maxim Filippov <colixer@gmail.com> | 2019-10-01 18:10:04 +0300 |
commit | 0f9c2c8b87672517aa040a2cbe1c297b29acc317 (patch) | |
tree | 1c707a45d76fbe68941ab53cd023a23a851c0cf5 /test/web/oauth/oauth_controller_test.exs | |
parent | b35a0f0ce4cd077300ac987449cccf057a9a216f (diff) | |
download | pleroma-0f9c2c8b87672517aa040a2cbe1c297b29acc317.tar.gz pleroma-0f9c2c8b87672517aa040a2cbe1c297b29acc317.zip |
Send an identifier alongside with error message in OAuthController
Diffstat (limited to 'test/web/oauth/oauth_controller_test.exs')
-rw-r--r-- | test/web/oauth/oauth_controller_test.exs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/web/oauth/oauth_controller_test.exs b/test/web/oauth/oauth_controller_test.exs index 0cf755806..4d0741d14 100644 --- a/test/web/oauth/oauth_controller_test.exs +++ b/test/web/oauth/oauth_controller_test.exs @@ -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 |