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;