From 7aebdb7c78e8e7b0ae7e772cc419aefe83e58995 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Thu, 30 Jun 2022 06:20:38 +0000 Subject: [PATCH] add back middleware for django admin --- api/tacticalrmm/tacticalrmm/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api/tacticalrmm/tacticalrmm/settings.py b/api/tacticalrmm/tacticalrmm/settings.py index f67bce17..f77c176e 100644 --- a/api/tacticalrmm/tacticalrmm/settings.py +++ b/api/tacticalrmm/tacticalrmm/settings.py @@ -163,6 +163,7 @@ MIDDLEWARE = [ "corsheaders.middleware.CorsMiddleware", ## "tacticalrmm.middleware.LogIPMiddleware", "django.middleware.common.CommonMiddleware", + "django.middleware.csrf.CsrfViewMiddleware", "django.contrib.auth.middleware.AuthenticationMiddleware", "tacticalrmm.middleware.AuditMiddleware", ]