Added the email for the owner and changed the admin123 for the login page

This commit is contained in:
2026-08-20 09:42:02 +01:00
parent 1ea31362c4
commit ee6c739305
6 changed files with 63 additions and 14 deletions
+9 -4
View File
@@ -62,10 +62,15 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
</button>
</form>
<div style="margin-top: 1.5rem; text-align: center; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.82rem; color: #64748b;">
<?= __('login_hint_footer') ?>:<br>
<strong style="color: #94a3b8;"><?= __('label_username') ?>:</strong> admin | <strong style="color: #94a3b8;"><?= __('label_password') ?>:</strong> admin123
</div>
<?php $admin_email = get_site_setting('admin_email', '[email protected]'); ?>
<?php if (!empty($admin_email)): ?>
<div style="margin-top: 1.5rem; text-align: center; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.85rem; color: #94a3b8;">
<?= __('login_request_account') ?><br>
<a href="mailto:<?= htmlspecialchars($admin_email) ?>" style="color: #7dd3fc; font-weight: 600; text-decoration: underline; margin-top: 0.35rem; display: inline-block;">
✉️ <?= htmlspecialchars($admin_email) ?>
</a>
</div>
<?php endif; ?>
</div>
</div>
</main>