Removed forgery protection from email confirmation page

This commit is contained in:
Godwin
2015-09-07 12:46:24 -07:00
parent 83986fe51c
commit 553496d51d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ end
class ApplicationController < LinguaFrancaApplicationController
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
protect_from_forgery with: :exception
protect_from_forgery with: :exception, :except => [:do_confirm]
before_filter :capture_page_info