misaki/tmpl/code.html
q 119b6d73c4
Some checks failed
Build & push Docker image / build (push) Has been cancelled
totp 2fac
2026-11-07 11:43:40 -05:00

12 lines
577 B
HTML

{{template "base.html" .}}
{{define "title"}}Log In{{end}}
{{define "content"}}
<h1>One more step</h1>
{{if .Error}}<p class="err">{{.Error}}</p>{{end}}
<form method="POST" action="/login/code">
<label for="code">Code from your authenticator app</label>
<input type="text" id="code" name="code" required autofocus autocomplete="one-time-code" inputmode="numeric" maxlength="24">
<input type="submit" value="Log In">
</form>
<p style="margin-top:1.5rem;font-size:.9rem">Lost your phone? Type one of your recovery codes instead. <a href="/login">Start over</a></p>
{{end}}