Restore form_action restrictions for ouath2_authorizations#create

This commit is contained in:
Tom Hughes 2022-01-17 11:00:41 +00:00
parent 707ebddbb5
commit ff995e7ea3

View file

@ -3,7 +3,7 @@ class Oauth2AuthorizationsController < Doorkeeper::AuthorizationsController
prepend_before_action :authorize_web
before_action :set_locale
before_action :allow_all_form_action, :only => [:new, :create]
before_action :allow_all_form_action, :only => [:new]
authorize_resource :class => false