Prevent browser autofill from restoring old username after logout

Otherkamo-login
Shipped
November 26, 2025 at 10:08 PM UTC
Author
snadjafinia
Commit
d57eeee

- Change autocomplete from 'username' to 'off' on username field - Change form autocomplete from 'on' to 'off' - Clear username and password state when coming from logout - Prevents browser from auto-filling previous username when user clicks back - Ensures fresh login form after logout

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing