diff --git a/library/Director/Web/Form/CsrfToken.php b/library/Director/Web/Form/CsrfToken.php index a4056539..24edf88f 100644 --- a/library/Director/Web/Form/CsrfToken.php +++ b/library/Director/Web/Form/CsrfToken.php @@ -34,7 +34,7 @@ class CsrfToken public static function generate() { $seed = mt_rand(); - list ($seed, $token) = hash('sha256', self::getSessionId() . $seed); + $token = hash('sha256', self::getSessionId() . $seed); return sprintf('%s|%s', $seed, $token); }