chldapasswd/static/login.html
Pierre-Olivier Mercier 2e6227b36c
All checks were successful
continuous-integration/drone/push Build is passing
feat: add autocomplete attributes to form inputs for better browser/password manager support
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-08 14:07:17 +07:00

21 lines
976 B
HTML

{{template "header" .}}
<h1 class="page-title">Sign in</h1>
<p class="page-subtitle">Don't have an account? <a href="/register">Create one!</a></p>
<form method="post" action="login">
{{if .error}}<div class="alert alert-error" role="alert">{{.error}}</div>{{end}}
<div class="form-field">
<input name="login" required="" class="form-control" id="input_0" type="text" placeholder="Login" autofocus autocomplete="username">
</div>
<div class="form-field">
<input name="password" required="" class="form-control" id="input_1" type="password" placeholder="Current password" autocomplete="current-password">
</div>
<div class="form-field">
<altcha-widget challengeurl="altcha-challenge"></altcha-widget>
</div>
<div class="btn-group">
<button class="btn btn-primary" type="submit">Sign in</button>
<a href="/lost" class="btn btn-secondary">Forgot your password?</a>
</div>
</form>
{{template "footer" .}}