diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-02-05 10:43:19 -1000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-02-05 10:43:19 -1000 |
| commit | 1eab4d59454fa5999675d51b99e77ac6580aba95 (patch) | |
| tree | 6b653e39d33fd879f29f769cdf3bd3f6bfcd3f05 /web/templates/login.html | |
| parent | 5ddb419137b814481a208d1dd0d18ac36ed554ea (diff) | |
Improve session handling, shopping UI, and cleanup
Session improvements:
- Extend session lifetime to 7 days for mobile convenience
- Add idle timeout to extend session on activity
- Use standard cookie name for better compatibility
Shopping model:
- Add FlattenItemsForStore helper for extracting store items
- Add StoreNames helper for store list
- Improve shopping-tab.html with inline add forms
Frontend:
- Add WebSocket reconnection and agent approval UI to app.js
- Simplify timeline calendar JS (move event positioning to CSS)
- Update login page styling
Deployment:
- Remove unused git checkout step from deploy.sh
- Update apache.conf WebSocket proxy settings
Documentation:
- Add Agent Context API feature spec to issues/
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'web/templates/login.html')
| -rw-r--r-- | web/templates/login.html | 4 |
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"> |
