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
|
||||
include UserInfo
|
||||
protect_from_forgery
|
||||
# http_basic_authenticate_with :name => "test", :password => "ttt"
|
||||
|
||||
helper_method :current_user, :authentication_check, :config_frontend, :user_data_full
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
class TicketOverviewsController < ApplicationController
|
||||
skip_before_filter :verify_authenticity_token
|
||||
before_filter :authentication_check
|
||||
|
||||
# GET /tickets
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
class TicketsController < ApplicationController
|
||||
skip_before_filter :verify_authenticity_token
|
||||
before_filter :authentication_check
|
||||
|
||||
# GET /tickets
|
||||
|
|
Loading…
Reference in a new issue