Merge branch 'feature/unrepeats' into 'develop'
[akkoma] / lib / pleroma / web / oauth / fallback_controller.ex
1 defmodule Pleroma.Web.OAuth.FallbackController do
2 use Pleroma.Web, :controller
3 alias Pleroma.Web.OAuth.OAuthController
4
5 # No user/password
6 def call(conn, _) do
7 conn
8 |> put_flash(:error, "Invalid Username/Password")
9 |> OAuthController.authorize(conn.params)
10 end
11 end