diff --git a/src/Controller.php b/src/Controller.php index 9d50b7c..a66ab88 100755 --- a/src/Controller.php +++ b/src/Controller.php @@ -63,6 +63,6 @@ public function csrfProtection(): void $csrf[] = bin2hex(random_bytes(32)); } - Session::set(["csrf_token", $csrf]); + Session::set("csrf_token", $csrf); } }