diff --git a/include/class_CSRFProtection.inc b/include/class_CSRFProtection.inc index 7c3f6954ae33e648c55523c70ee165ec05607147..cfa60da006b89b6bd43c99f2b87daf1f5e31a343 100644 --- a/include/class_CSRFProtection.inc +++ b/include/class_CSRFProtection.inc @@ -31,7 +31,6 @@ class CSRFProtection static::checkHeaders(); - $validToken = static::getToken(); if ($_POST['CSRFtoken'] !== static::getToken()) { throw new Exception('CSRF protection token invalid'); }