Auth customization support.

OAuthController#create_authorization user retrieval / creation, errors handling, template & layout selection.
This commit is contained in:
Ivan Tashkinov 2019-02-21 18:55:19 +03:00
commit 1097ce6d9f
5 changed files with 48 additions and 8 deletions

View file

@ -26,6 +26,8 @@ defmodule Pleroma.Web do
import Plug.Conn
import Pleroma.Web.Gettext
import Pleroma.Web.Router.Helpers
plug(:put_layout, Application.get_env(:pleroma, :app_template, "app.html"))
end
end