1 class Oauth2AuthorizationsController < Doorkeeper::AuthorizationsController
4 prepend_before_action :authorize_web
5 before_action :set_locale
7 authorize_resource :class => false
10 override_content_security_policy_directives(:form_action => []) if Settings.csp_enforce || Settings.key?(:csp_report_url)