From 553ff685b2cada08887c54b718cce58dab5a926f Mon Sep 17 00:00:00 2001 From: Alex <40072887+alexdcrane@users.noreply.github.com> Date: Mon, 3 Nov 2025 14:24:09 -0700 Subject: [PATCH] Remove duplicate session_start to prevent PHP warnings (#7605) --- core/authentication/resources/classes/authentication.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/authentication/resources/classes/authentication.php b/core/authentication/resources/classes/authentication.php index c1501d8179..583107c24e 100644 --- a/core/authentication/resources/classes/authentication.php +++ b/core/authentication/resources/classes/authentication.php @@ -89,11 +89,6 @@ class authentication { //create a settings object to pass to plugins $this->settings = new settings(['database' => $this->database, 'domain_uuid' => $this->domain_uuid]); - //start the session if its not started - if (session_status() === PHP_SESSION_NONE) { - session_start(); - } - //set the default authentication method to the database if (empty($_SESSION['authentication']['methods']) || !is_array($_SESSION['authentication']['methods'])) { $_SESSION['authentication']['methods'][] = 'database';