This commit is contained in:
2026-03-05 02:10:21 +01:00
parent b428ee0635
commit 8ee9b364ee
7 changed files with 315 additions and 47 deletions

View File

@@ -27,6 +27,7 @@ $publicPaths = [
'auth/login',
'auth/callback',
'auth/logout',
'module/pi_control/terminal_info',
];
if (defined('APP_AUTH_ENABLED') && APP_AUTH_ENABLED && !in_array($uriPath, $publicPaths, true)) {
$user = auth_user();