]> git.openstreetmap.org Git - rails.git/commitdiff
Remove temporary development code
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 10 Oct 2018 14:54:16 +0000 (16:54 +0200)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 10 Oct 2018 14:54:16 +0000 (16:54 +0200)
app/controllers/application_controller.rb
app/controllers/users_controller.rb

index ad91b3a3b11b3aaad19e4142fd58bd3a5a8a4c5d..0d43393fd4ff6334c0ed0c929c773d5565dd0333 100644 (file)
@@ -1,6 +1,5 @@
 class ApplicationController < ActionController::Base
   include SessionPersistence
-  # check_authorization
 
   protect_from_forgery :with => :exception
 
index 09bdd6d3ec873d6f926e0d570afd0cc1f40cfc52..d18cf188cf669ef002fbc975f6f08d091f697d6f 100644 (file)
@@ -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]