X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0bdc865d9fb8da48852372351b86bd42f9772266..e222329d043592af299eed12cf6ad16969c1b46f:/app/controllers/sessions_controller.rb diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb index 130471670..7e6a740f3 100644 --- a/app/controllers/sessions_controller.rb +++ b/app/controllers/sessions_controller.rb @@ -4,6 +4,9 @@ class SessionsController < ApplicationController layout "site" before_action :disable_terms_redirect, :only => [:destroy] + before_action :authorize_web + before_action :set_locale + before_action :check_database_readable before_action :require_cookies, :only => [:new] authorize_resource :class => false