From b7baa2c10ac493271a26a89deede2869927f84ec Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 10 Oct 2018 16:54:16 +0200 Subject: [PATCH] Remove temporary development code --- app/controllers/application_controller.rb | 1 - app/controllers/users_controller.rb | 2 -- 2 files changed, 3 deletions(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index ad91b3a3b..0d43393fd 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,6 +1,5 @@ class ApplicationController < ActionController::Base include SessionPersistence - # check_authorization protect_from_forgery :with => :exception diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 09bdd6d3e..d18cf188c 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -1,8 +1,6 @@ class UsersController < ApplicationController layout "site", :except => [:api_details] - skip_authorization_check :only => [:login, :logout] - skip_before_action :verify_authenticity_token, :only => [:api_read, :api_users, :api_details, :api_gpx_files, :auth_success] before_action :disable_terms_redirect, :only => [:terms, :save, :logout, :api_details] before_action :authorize, :only => [:api_details, :api_gpx_files] -- 2.43.2