X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/097449d8e190fe5c19aea5af816d25241b3dd591..bf3743f190fa8fadf7c9a82db73997e2b604b133:/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