Add `autocomplete` attributes to login form
What problem will this feature address?
Hi. Thanks for developing Dokploy!
I use Passwords (Apple secrets manager app) to auto-fill credentials on almost every service
I added my self-hosted Dokploy instance credentials to the Passwords app, but autofill was not available. I am sure I correctly added credentials in the App (IP url, email as username, password).
Having some web dev knowledge, I noticed that input fields for password and email on the login page do not have autocomplete attributes. With those similar apps like mine can recognize the action of auto-filling credentials in correct places
Describe the solution you'd like
I propose to make the minor changes of adding:
autocomplete="username"to the email login input field &autocomplete="current-password"to the password login input field
I do not have the time to do this myself, and also I wanted to consult with maintainer(s) first
Describe alternatives you've considered
no idea
Additional context
This would be a small quality-of-life improvement to an already amazing project!
Will you send a PR to implement it?
Maybe, need help
Thanks for reporting this.
If you’re using an IP URL, I’d assume this is over HTTP rather than HTTPS. Apple Passwords does not autofill passwords on HTTP pages.
I verified on macOS (Safari) that password autofill works on HTTPS even without explicit autocomplete attributes.
That said, adding these attributes is still a good improvement and shouldn’t hurt.
Thanks for checking that out
Didn't know that Apple doesn't autofill on non HTTPS websites. It's either find a workaround or upgrade to HTTPS :D
I agree, adding autocomlete will surely help in some cases, I believe
EDIT: This can be closed IMO