Fix #1165 - before_action was called before protect_from_forgery
This commit is contained in:
		@@ -1,13 +1,13 @@
 | 
			
		||||
# frozen_string_literal: true
 | 
			
		||||
 | 
			
		||||
class Oauth::AuthorizedApplicationsController < Doorkeeper::AuthorizedApplicationsController
 | 
			
		||||
  include Localized
 | 
			
		||||
 | 
			
		||||
  skip_before_action :authenticate_resource_owner!
 | 
			
		||||
 | 
			
		||||
  before_action :store_current_location
 | 
			
		||||
  before_action :authenticate_resource_owner!
 | 
			
		||||
 | 
			
		||||
  include Localized
 | 
			
		||||
 | 
			
		||||
  private
 | 
			
		||||
 | 
			
		||||
  def store_current_location
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user