X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fweb%2Foauth%2Foauth_controller.ex;h=5c2b0507c9a0c8c5dc48fb0dff643986c22d55b8;hb=cf426a719dfe26a11b0bf0a22a08fd45ca5b9dc2;hp=02c0babd24080f75bc936f0a48aa10b8c1b17c81;hpb=e82b70eb530293c3dfe8597c4100320fba96e479;p=akkoma diff --git a/lib/pleroma/web/oauth/oauth_controller.ex b/lib/pleroma/web/oauth/oauth_controller.ex index 02c0babd2..5c2b0507c 100644 --- a/lib/pleroma/web/oauth/oauth_controller.ex +++ b/lib/pleroma/web/oauth/oauth_controller.ex @@ -25,7 +25,7 @@ defmodule Pleroma.Web.OAuth.OAuthController do available_scopes = (app && app.scopes) || [] scopes = oauth_scopes(params, nil) || available_scopes - template = Application.get_env(:pleroma, :auth_template, "show.html") + template = Pleroma.Config.get(:auth_template, "show.html") render(conn, template, %{ response_type: params["response_type"],