fix #1138 where openid login was broken because of csrf changes in rails

This commit is contained in:
Reinier Balt 2011-04-14 12:52:41 +02:00
parent c6e1760278
commit 52acf17270

View file

@ -7,7 +7,7 @@ class LoginController < ApplicationController
before_filter :login_optional
before_filter :get_current_user
protect_from_forgery :except => :check_expiry
protect_from_forgery :except => [:check_expiry, :login]
if ( SITE_CONFIG['authentication_schemes'].include? 'cas')
# This will allow the user to view the index page without authentication