Add missing callbacks to session controller

This commit is contained in:
Tom Hughes 2021-03-29 20:31:24 +01:00
parent 097449d8e1
commit bf3743f190

View file

@ -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