includes/modules/login.php
<!--
Standalone login page.
Rendered directly (not through index.php's dashboard layout) whenever
brivaciaRequireAuth() (see includes/modules/auth.php) determines the
visitor isn't authenticated yet. Deliberately minimal: just enough
markup to host the login modal, no dashboard chrome.
-->
<!doctype html>
<html data-theme="<?= h(brivacia_setting('dashboard.light_theme', false) ? 'light' : 'dark') ?>" dir="<?= h(currentDir()) ?>" lang="<?= h(currentLang()) ?>">
<head>
<title><?= h(t('auth.login.title')) ?> • <?= h(brivacia_setting('dashboard.instance_name', 'Brivacia')) ?></title>
<meta charset="utf-8">
<meta name="robots" content="noindex, nofollow, noarchive, nosnippet">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="<?= h(assetOrPlaceholder('favicon', brivaciaFaviconPlaceholder(), $currentSite ?? '')) ?>">
<link rel="stylesheet" href="/assets/css/style.min.css">
</head>
<body>
<?php require __DIR__ . '/../modals/login_modal.php'; ?>
<script defer src="/assets/js/main.min.js"></script>
</body>
</html>