[#1985] Prevented force login on registration if account approval and/or email confir...
authorIvan Tashkinov <ivantashkinov@gmail.com>
Fri, 31 Jul 2020 11:13:38 +0000 (14:13 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Fri, 31 Jul 2020 11:13:38 +0000 (14:13 +0300)
commit27b0a8b15542c645f70937a124ab8190cc399313
tree35a6b57163e3890c96b888ebc7ac4f9cf1fca79c
parenta1a43f39dc85e673f6e4f395b7ac515356177fdf
[#1985] Prevented force login on registration if account approval and/or email confirmation needed.
Refactored login code in OAuthController, reused in AccountController. Added tests.
lib/pleroma/web/api_spec/operations/account_operation.ex
lib/pleroma/web/mastodon_api/controllers/account_controller.ex
lib/pleroma/web/oauth/oauth_controller.ex
test/web/mastodon_api/controllers/account_controller_test.exs