From 8f3489cd4aaf295779824c3e71ae8c63c78f9245 Mon Sep 17 00:00:00 2001 From: glaszig Date: Thu, 1 Aug 2019 13:11:07 +0200 Subject: [PATCH] remove id attribute from csrf token field due to obsolescence and if there's multiple form's on the page it would lead to multiple elements with the same id which is illegal in html --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index 3a16475f..31286d73 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -70,7 +70,7 @@ function ensureCSRFSessionToken() function CSRFTokenFieldTag() { $token = htmlspecialchars($_SESSION['csrf_token']); - return ''; + return ''; } /**