Commit b463f35095dcdf4f6dda4e897792b0a485a32dba
1 parent
b8f3f3f3
Exists in
staging
and in
2 other branches
Disable csrf verification
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/controllers/application_controller.rb
1 | require 'noosfero/multi_tenancy' | 1 | require 'noosfero/multi_tenancy' |
2 | 2 | ||
3 | class ApplicationController < ActionController::Base | 3 | class ApplicationController < ActionController::Base |
4 | - protect_from_forgery | 4 | + #protect_from_forgery |
5 | 5 | ||
6 | before_filter :setup_multitenancy | 6 | before_filter :setup_multitenancy |
7 | before_filter :detect_stuff_by_domain | 7 | before_filter :detect_stuff_by_domain |
app/controllers/public/account_controller.rb
@@ -6,7 +6,7 @@ class AccountController < ApplicationController | @@ -6,7 +6,7 @@ class AccountController < ApplicationController | ||
6 | before_filter :redirect_if_logged_in, :only => [:login, :signup] | 6 | before_filter :redirect_if_logged_in, :only => [:login, :signup] |
7 | before_filter :protect_from_bots, :only => :signup | 7 | before_filter :protect_from_bots, :only => :signup |
8 | 8 | ||
9 | - protect_from_forgery except: [:login] | 9 | + #protect_from_forgery except: [:login] |
10 | 10 | ||
11 | helper CustomFieldsHelper | 11 | helper CustomFieldsHelper |
12 | # say something nice, you goof! something sweet. | 12 | # say something nice, you goof! something sweet. |
-
mentioned in commit 4dbb7f2b5925b57b7ed8d58fe5c6138404c22676