feat: add autocomplete attributes to form inputs for better browser/password manager support
All checks were successful
continuous-integration/drone/push Build is passing

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
nemunaire 2026-03-08 14:06:47 +07:00
commit 2e6227b36c
4 changed files with 9 additions and 9 deletions

View file

@ -6,7 +6,7 @@
{{if .error}}<div class="alert alert-error" role="alert">{{.error}}</div>{{end}}
<input type="hidden" name="csrf_token" value="{{ .csrf_token }}">
<div class="form-field">
<input name="login" required="" class="form-control" id="input_0" type="text" placeholder="Login" autofocus>
<input name="login" required="" class="form-control" id="input_0" type="text" placeholder="Login" autofocus autocomplete="username">
</div>
<div class="form-field">
<altcha-widget challengeurl="altcha-challenge"></altcha-widget>