Skip to content
Permalink
Browse files

Maintenance: authentication_check Controller callback runs after CSRF…

… token check which leads to failing POST/PUT, non-Session authenticated requests.
  • Loading branch information
thorsteneckel committed Dec 2, 2019
1 parent 47778f2 commit 96d300b912e45d703e8e0160c655d185d82058be
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/knowledge_base/base_controller.rb
@@ -1,7 +1,7 @@
# Copyright (C) 2012-2017 Zammad Foundation, http://zammad-foundation.org/

class KnowledgeBase::BaseController < ApplicationController
before_action :authentication_check
prepend_before_action :authentication_check
before_action :ensure_editor_or_reader
before_action :ensure_editor, only: %i[create update destroy]

0 comments on commit 96d300b

Please sign in to comment.
You can’t perform that action at this time.