Maintenance: authentication_check Controller callback runs after CSRF token check which leads to failing POST/PUT, non-Session authenticated requests.
This commit is contained in:
parent
47778f2d2f
commit
96d300b912
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
||||
|
|
Loading…
Reference in a new issue