X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0bdc865d9fb8da48852372351b86bd42f9772266..dbf35e0cf67ee330cd02c2431e0ed6d08681d184:/app/controllers/sessions_controller.rb?ds=sidebyside 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