From abafbacf1a75c9db1dffe3574db10e8d1e05dadc Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 17 Dec 2018 14:46:45 +0100 Subject: [PATCH] CsrfToken: Fix exception when validating tokens --- library/Businessprocess/Web/Form/CsrfToken.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Businessprocess/Web/Form/CsrfToken.php b/library/Businessprocess/Web/Form/CsrfToken.php index ce2288f..9eb24ef 100644 --- a/library/Businessprocess/Web/Form/CsrfToken.php +++ b/library/Businessprocess/Web/Form/CsrfToken.php @@ -17,7 +17,7 @@ class CsrfToken return false; } - list($seed, $token) = explode('|', $elementValue); + list($seed, $token) = explode('|', $token); if (!is_numeric($seed)) { return false;