Files
observatory/internal/site/password.sando
T
gamertan 92a66db3df docs: publish Preview 19 dogfood evidence
Export the reviewed allowlisted snapshot from private source commit 05928cebd01b586cf9e9d4b8c8537a7605a6068c. This records the exact candidate, bounded capacity result, stateful migration scratch requirement, authenticated batch identity proof, and immediate live acceptance evidence.

AI-Assisted: OpenAI Codex
Signed-off-by: Cole Speelman <crspeelman@gmail.com>
2026-08-18 21:47:08 -04:00

34 lines
1.6 KiB
Plaintext

<?sando go
package site
func Password(view PasswordView)
?>
<?# SPDX-License-Identifier: AGPL-3.0-only ?>
<!doctype html>
<html lang="en">
<head><?~ Head(view.Head) ?></head>
<body>
<a class="skip-link" href="#main">Skip to content</a>
<?~ SiteHeader(false, "", "") ?>
<main id="main" class="auth-shell">
<section class="auth-card" aria-labelledby="password-title">
<p class="eyebrow">One careful first step</p>
<h1 id="password-title">Choose your password</h1>
<p>The bootstrap credential is single-purpose. Replace it now; Observatory will end every session and ask you to sign in again.</p>
<? if view.ErrorMessage != "" { ?><p class="form-error" role="alert"><?= view.ErrorMessage ?></p><? } ?>
<form method="post" action="/account/password/">
<input type="hidden" name="csrf_token" value="<?= view.CSRFToken ?>">
<label for="current-password">Temporary password</label>
<input id="current-password" name="current_password" type="password" autocomplete="current-password" required maxlength="1024">
<label for="new-password">New password</label>
<input id="new-password" name="new_password" type="password" autocomplete="new-password" required minlength="12" maxlength="1024">
<label for="confirm-password">Confirm new password</label>
<input id="confirm-password" name="confirm_password" type="password" autocomplete="new-password" required minlength="12" maxlength="1024">
<button type="submit">Change password and sign out</button>
</form>
</section>
</main>
<?~ SiteFooter() ?>
</body>
</html>