diff --git a/includes/common.php b/includes/common.php index 4c538d7..27e4727 100644 --- a/includes/common.php +++ b/includes/common.php @@ -221,8 +221,8 @@ function verifyCsrfToken($token = null) : bool { return hash_equals($_SESSION[SessionHelper::CSRF_TOKEN_KEY], $token); } -session_start(); session_set_cookie_params(86400); +session_start(); /* Set up the database and Eloquent ORM */ $capsule = new Capsule();