]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/users_controller.rb
Merge branch 'authz' of https://github.com/rubyforgood/openstreetmap-website into...
[rails.git] / app / controllers / users_controller.rb
index d18cf188cf669ef002fbc975f6f08d091f697d6f..09bdd6d3ec873d6f926e0d570afd0cc1f40cfc52 100644 (file)
@@ -1,6 +1,8 @@
 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]