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

@ -5,10 +5,10 @@
<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>
<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">
<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>