hopefully fix #1109 where I think the csrf change in rails 2.3.11 messes up our expiry checking

This commit is contained in:
Reinier Balt 2011-02-25 22:43:18 +01:00
parent da93b82b2b
commit 4cca813bc7
2 changed files with 14 additions and 6 deletions

View file

@ -6,6 +6,9 @@ class LoginController < ApplicationController
skip_before_filter :login_required
before_filter :login_optional
before_filter :get_current_user
protect_from_forgery :except => :check_expiry
if ( SITE_CONFIG['authentication_schemes'].include? 'cas')
# This will allow the user to view the index page without authentication
# but will process CAS authentication data if the user already