From 92a5ac2c153aae9802e13cea70a5add221b298c1 Mon Sep 17 00:00:00 2001 From: phzhik Date: Wed, 12 Jul 2023 21:45:40 +0400 Subject: [PATCH] * CORS_ALLOW_CREDENTIALS --- poizonstore/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/poizonstore/settings.py b/poizonstore/settings.py index 2fc03ee..cb423c6 100644 --- a/poizonstore/settings.py +++ b/poizonstore/settings.py @@ -47,6 +47,7 @@ CORS_ALLOWED_ORIGINS = [ if DISABLE_CORS: CORS_ALLOW_ALL_ORIGINS = True + CORS_ALLOW_CREDENTIALS = True AUTH_USER_MODEL = 'store.User'