Unify Mastodon Login with OAuth login.
authorlain <lain@soykaf.club>
Tue, 6 Nov 2018 14:19:11 +0000 (15:19 +0100)
committerlain <lain@soykaf.club>
Tue, 6 Nov 2018 14:19:11 +0000 (15:19 +0100)
commit4f640c43edc237f4450cc0d42896b5e0a7b4a324
tree89434a20c5be013378fe216d6386f207ec9ef47c
parent0f6c4635a64e89cc72921456e6cfa3d488d894bf
Unify Mastodon Login with OAuth login.

This removes duplication in the login code.
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
lib/pleroma/web/oauth/oauth_controller.ex
lib/pleroma/web/templates/mastodon_api/mastodon/login.html.eex [deleted file]