From e6287fd606e6e3220261fd68c394989e6ade0f90 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Fri, 02 Jan 2026 23:41:57 +0000
Subject: [PATCH] Merge branch 'main' of https://github.com/jakevdwerf/jvb
---
inc/rest/routes/LoginRoutes.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/inc/rest/routes/LoginRoutes.php b/inc/rest/routes/LoginRoutes.php
index a1ed284..226692b 100644
--- a/inc/rest/routes/LoginRoutes.php
+++ b/inc/rest/routes/LoginRoutes.php
@@ -369,7 +369,7 @@
// Log them in
wp_set_current_user($user->ID);
wp_set_auth_cookie($user->ID, true);
-
+
if (session_status() === PHP_SESSION_ACTIVE) {
session_regenerate_id(true);
}
--
Gitblit v1.10.0