Removed CSRF checks (not needed because of JSON store).
This commit is contained in:
parent
5de91cae96
commit
6d79f6caa0
3 changed files with 0 additions and 3 deletions
|
@ -1,6 +1,5 @@
|
||||||
class ApplicationController < ActionController::Base
|
class ApplicationController < ActionController::Base
|
||||||
include UserInfo
|
include UserInfo
|
||||||
protect_from_forgery
|
|
||||||
# http_basic_authenticate_with :name => "test", :password => "ttt"
|
# http_basic_authenticate_with :name => "test", :password => "ttt"
|
||||||
|
|
||||||
helper_method :current_user, :authentication_check, :config_frontend, :user_data_full
|
helper_method :current_user, :authentication_check, :config_frontend, :user_data_full
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
class TicketOverviewsController < ApplicationController
|
class TicketOverviewsController < ApplicationController
|
||||||
skip_before_filter :verify_authenticity_token
|
|
||||||
before_filter :authentication_check
|
before_filter :authentication_check
|
||||||
|
|
||||||
# GET /tickets
|
# GET /tickets
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
class TicketsController < ApplicationController
|
class TicketsController < ApplicationController
|
||||||
skip_before_filter :verify_authenticity_token
|
|
||||||
before_filter :authentication_check
|
before_filter :authentication_check
|
||||||
|
|
||||||
# GET /tickets
|
# GET /tickets
|
||||||
|
|
Loading…
Reference in a new issue