summaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/admin/admin.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontend/admin/admin.js b/frontend/admin/admin.js
index ffe44c2..bc31007 100644
--- a/frontend/admin/admin.js
+++ b/frontend/admin/admin.js
@@ -5,6 +5,7 @@ async function login() {
const response = await fetch(`${API_URL}/admin_login`, {
method: "POST",
+ credentials: "include",
headers: {
"Content-Type": "application/json"
},