From f6b0645436e49d8c823ebaadde29654a52080fed Mon Sep 17 00:00:00 2001 From: Jagepard Date: Fri, 17 Oct 2025 12:00:38 +0300 Subject: [PATCH] add Session::set --- src/Controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }