Files
mood-tracking/templates/pages/setup.php
T
2026-04-11 19:13:40 +02:00

28 lines
1.1 KiB
PHP

<section class="auth-shell">
<div class="auth-card glass-panel">
<p class="eyebrow">Erste Einrichtung</p>
<h1>Mood initialisieren</h1>
<p class="auth-copy">Lege den ersten Admin-Account an. Danach ist die Anwendung sofort geschützt und weitere Accounts können später in den Optionen erstellt werden.</p>
<form method="post" action="/setup" class="stack-form">
<?= csrf_field() ?>
<label>
<span>Admin-Benutzername</span>
<input type="text" name="username" autocomplete="username" required>
</label>
<label>
<span>Passwort</span>
<input type="password" name="password" autocomplete="new-password" minlength="10" required>
</label>
<label>
<span>Passwort wiederholen</span>
<input type="password" name="password_confirm" autocomplete="new-password" minlength="10" required>
</label>
<button class="primary-button" type="submit">Setup abschließen</button>
</form>
</div>
</section>