Removed forgery protection from email confirmation page
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user