From d7e2fc7062a761e62335073bec6306c78f1471cc Mon Sep 17 00:00:00 2001 From: Parker Berberian Date: Wed, 28 Nov 2018 13:38:45 -0500 Subject: Removed Vanilla Form Submission On google chrome, using vanilla html forms, eg: document.getElementById("Form_id").submit(); does not properly set the CSRF header from the cookies. This results in 403 unauthorized errors in chrome when doing certain things. This is possibly an issue to do with how chrome handles iframes differently from firefox. To fix, we replaced basic forms with serialized XMLHttpRequests, which are more common in this codebase anyway. Change-Id: I93e92cd326c8bba47408b66a95d9d5d806c154f6 Signed-off-by: Parker Berberian --- dashboard/src/templates/dashboard/landing.html | 6 ------ 1 file changed, 6 deletions(-) (limited to 'dashboard/src/templates/dashboard/landing.html') diff --git a/dashboard/src/templates/dashboard/landing.html b/dashboard/src/templates/dashboard/landing.html index 3e0aacd..b1eec86 100644 --- a/dashboard/src/templates/dashboard/landing.html +++ b/dashboard/src/templates/dashboard/landing.html @@ -28,12 +28,6 @@ grid-template-columns: 33% 34% 33%; } -
-- cgit 1.2.3-korg