Commit 28c2e26c193035d4cb87aade6636ea163662ce98

Authored by Victor Costa
2 parents bf4e1cf1 6d69da64

Merge branch 'master' into staging_rails4

app/controllers/public/account_controller.rb
... ... @@ -6,6 +6,8 @@ class AccountController < ApplicationController
6 6 before_filter :redirect_if_logged_in, :only => [:login, :signup]
7 7 before_filter :protect_from_bots, :only => :signup
8 8  
  9 + protect_from_forgery except: [:login]
  10 +
9 11 helper CustomFieldsHelper
10 12 # say something nice, you goof! something sweet.
11 13 def index
... ...
vendor/plugins/noosfero_caching/init.rb
... ... @@ -27,7 +27,6 @@ module NoosferoHttpCaching
27 27 end
28 28  
29 29 def noosfero_session_check
30   - return unless params[:controller] == 'account'
31 30 headers["X-Noosfero-Auth"] = (session[:user] != nil).to_s
32 31 end
33 32  
... ...