we need to be able to do username checks for registration to work

This commit is contained in:
Sam
2013-06-05 12:50:42 +10:00
parent 74502172f3
commit 2dfba8d6de
2 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,5 @@
class SessionController < ApplicationController
# we need to allow account login with bad CSRF tokens, if people are caching, the CSRF token on the
# we need to allow account login with bad CSRF tokens, if people are caching, the CSRF token on the
# page is going to be empty, this means that server will see an invalid CSRF and blow the session
# once that happens you can't log in with social
skip_before_filter :verify_authenticity_token, only: [:create]