[#963] No redirect on OOB OAuth authorize request with existing authorization. OAuth...
authorIvan Tashkinov <ivant.business@gmail.com>
Wed, 12 Jun 2019 18:30:06 +0000 (21:30 +0300)
committerIvan Tashkinov <ivant.business@gmail.com>
Wed, 12 Jun 2019 18:30:06 +0000 (21:30 +0300)
commit4b2c29016cb0a735aeeda535ab956507b2a7c546
treef73ddce98dac97030ab347803308dc0945440cfb
parent822a9f28d08af9da69a8e0f72cc6511252f25ddd
[#963] No redirect on OOB OAuth authorize request with existing authorization. OAuth-related refactoring.
lib/pleroma/helpers/uri_helper.ex [new file with mode: 0644]
lib/pleroma/web/oauth/oauth_controller.ex
lib/pleroma/web/templates/o_auth/o_auth/oob_authorization_created.html.eex [moved from lib/pleroma/web/templates/o_auth/o_auth/results.html.eex with 100% similarity]
lib/pleroma/web/templates/o_auth/o_auth/oob_token_exists.html.eex [new file with mode: 0644]
test/web/oauth/oauth_controller_test.exs