]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/oauth2_authorizations_controller.rb
Ignore the creation_ip column which is no longer used
[rails.git] / app / controllers / oauth2_authorizations_controller.rb
index 9c2bce2d1e1cb76a4e87d7b5537933105940e5ca..415ab2775c12f248e90598bde7e2495078e126f9 100644 (file)
@@ -4,5 +4,7 @@ class Oauth2AuthorizationsController < Doorkeeper::AuthorizationsController
   prepend_before_action :authorize_web
   before_action :set_locale
 
+  allow_all_form_action :only => :new
+
   authorize_resource :class => false
 end