From 0497b262f47f86c943790f99e104f164cec68a37 Mon Sep 17 00:00:00 2001 From: Asaf Gartner Date: Sat, 6 Jul 2024 12:47:52 +0300 Subject: [PATCH] Include credentials for follow link from subdomains --- src/templates/src/project_homepage.html | 1 + src/templates/src/user_profile.html | 1 + 2 files changed, 2 insertions(+) diff --git a/src/templates/src/project_homepage.html b/src/templates/src/project_homepage.html index 02ee255a..28735971 100644 --- a/src/templates/src/project_homepage.html +++ b/src/templates/src/project_homepage.html @@ -74,6 +74,7 @@ method: "POST", body: formData, redirect: "error", + credentials: "include", }); if (result.ok) { following = !following; diff --git a/src/templates/src/user_profile.html b/src/templates/src/user_profile.html index e79e140e..ba30e279 100644 --- a/src/templates/src/user_profile.html +++ b/src/templates/src/user_profile.html @@ -62,6 +62,7 @@ method: "POST", body: formData, redirect: "error", + credentials: "include", }); if (result.ok) { following = !following;