Restore form_action restrictions for ouath2_authorizations#create
This commit is contained in:
parent
707ebddbb5
commit
ff995e7ea3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue