FIX: BAD CSRF on login. Don't check csrf in the fake login form since it doesn't actually do anything.

This commit is contained in:
Neil Lalonde
2013-08-27 11:30:58 -04:00
parent 07328e5e4b
commit 89265c3a8b
3 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,7 @@
class StaticController < ApplicationController
skip_before_filter :check_xhr, :redirect_to_login_if_required
skip_before_filter :verify_authenticity_token, only: [:enter]
def show