]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/users_controller.rb
Remove temporary development code
[rails.git] / app / controllers / users_controller.rb
index 09bdd6d3ec873d6f926e0d570afd0cc1f40cfc52..d18cf188cf669ef002fbc975f6f08d091f697d6f 100644 (file)
@@ -1,8 +1,6 @@
 class UsersController < ApplicationController
   layout "site", :except => [:api_details]
 
 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]
   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]