Fix PUBLIC_ROUTES case-sensitivity bug in runAuth (strtolower path vs mixed-case routes)

This commit is contained in:
John Mizerek 2026-03-14 15:11:04 -07:00
parent 906f1408fa
commit bd913bb46d

View file

@ -463,7 +463,7 @@ function runAuth(): void {
// Check if public route
$isPublic = false;
foreach (PUBLIC_ROUTES as $route) {
if (str_contains($path, $route)) {
if (str_contains($path, strtolower($route))) {
$isPublic = true;
break;
}