-
- Downloads
Fix autocomplete behaviour in Firefox
Firefox autofills all type="password" inputs with passwords from its built-in password store. This breaks usability of admin pages. This change fixes that by adding autocomplete="new-password" to these inputs. It also adds appropriate autocomplete attributes to other forms/inputs to improve autocomplete behaviour across browsers: - autocomplete="off" on all non-login/signup/selfservice forms - autocomplete="new-password" or autocomplete="current-password" on all type="password" inputs to workaround Firefox's misdetection - autocomplete="username"/"email"/"nickname" on login/signup/selfservice inputs wherever appropriate - Avoid type="password" where possible (e.g. on readonly fields)
Showing
- uffd/templates/group/show.html 1 addition, 1 deletionuffd/templates/group/show.html
- uffd/templates/invite/new.html 1 addition, 1 deletionuffd/templates/invite/new.html
- uffd/templates/mail/show.html 1 addition, 1 deletionuffd/templates/mail/show.html
- uffd/templates/mfa/auth.html 2 additions, 2 deletionsuffd/templates/mfa/auth.html
- uffd/templates/mfa/setup.html 2 additions, 2 deletionsuffd/templates/mfa/setup.html
- uffd/templates/mfa/setup_totp.html 1 addition, 1 deletionuffd/templates/mfa/setup_totp.html
- uffd/templates/role/show.html 1 addition, 1 deletionuffd/templates/role/show.html
- uffd/templates/selfservice/forgot_password.html 3 additions, 3 deletionsuffd/templates/selfservice/forgot_password.html
- uffd/templates/selfservice/self.html 3 additions, 3 deletionsuffd/templates/selfservice/self.html
- uffd/templates/selfservice/set_password.html 3 additions, 3 deletionsuffd/templates/selfservice/set_password.html
- uffd/templates/service/api.html 3 additions, 3 deletionsuffd/templates/service/api.html
- uffd/templates/service/oauth2.html 3 additions, 3 deletionsuffd/templates/service/oauth2.html
- uffd/templates/service/show.html 1 addition, 1 deletionuffd/templates/service/show.html
- uffd/templates/session/deviceauth.html 3 additions, 3 deletionsuffd/templates/session/deviceauth.html
- uffd/templates/session/devicelogin.html 1 addition, 1 deletionuffd/templates/session/devicelogin.html
- uffd/templates/session/login.html 3 additions, 3 deletionsuffd/templates/session/login.html
- uffd/templates/signup/confirm.html 1 addition, 1 deletionuffd/templates/signup/confirm.html
- uffd/templates/signup/start.html 5 additions, 5 deletionsuffd/templates/signup/start.html
- uffd/templates/user/show.html 4 additions, 4 deletionsuffd/templates/user/show.html
Loading
Please register or sign in to comment