summaryrefslogtreecommitdiff
path: root/web/templates/login.html
diff options
context:
space:
mode:
Diffstat (limited to 'web/templates/login.html')
-rw-r--r--web/templates/login.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/web/templates/login.html b/web/templates/login.html
index ce72dc0..bda6364 100644
--- a/web/templates/login.html
+++ b/web/templates/login.html
@@ -21,7 +21,7 @@
</div>
{{end}}
- <form method="POST" action="/login" class="space-y-6">
+ <form method="POST" action="/login" class="space-y-6" autocomplete="on">
<input type="hidden" name="csrf_token" value="{{.CSRFToken}}">
<div>
<label for="username" class="block text-sm font-medium text-white/70 mb-2">
@@ -31,6 +31,7 @@
type="text"
id="username"
name="username"
+ autocomplete="username"
required
autofocus
class="w-full px-4 py-3 bg-black/40 border border-white/20 rounded-lg text-white placeholder-white/50 focus:ring-2 focus:ring-white/30 focus:border-white/30 transition-colors"
@@ -45,6 +46,7 @@
type="password"
id="password"
name="password"
+ autocomplete="current-password"
required
class="w-full px-4 py-3 bg-black/40 border border-white/20 rounded-lg text-white placeholder-white/50 focus:ring-2 focus:ring-white/30 focus:border-white/30 transition-colors"
placeholder="Enter your password">