fix undefined $auth_enabled after auth refactor
Publish Docker image / build (push) Failing after 3s

This commit is contained in:
Daniel committed 2026-04-07 13:07:45 +02:00
1 parent 994cca7d7e
commit bd1eddbe62
1 file changed
+1
+1
View File
@@ -21,6 +21,7 @@ function loadAuth(): ?array {
session_start();
$auth = loadAuth();
$first_run = $auth === null;
$auth_enabled = !$first_run;
$logged_in = !$first_run && !empty($_SESSION['koncad_auth']);
// ─── Helpers ─────────────────────────────────────────────────────────────────