prevent firefox from autocompleting the current password in the form/fields for changing password

This commit is contained in:
Mechiel Lukkien
2024-01-05 12:15:55 +01:00
parent 9796c4539d
commit c348834ce9
8 changed files with 12 additions and 6 deletions

View File

@ -757,7 +757,7 @@ const account = async (name: string) => {
style({display: 'inline-block'}),
'New password',
dom.br(),
password=dom.input(attr.type('password'), attr.required(''), function focus() {
password=dom.input(attr.type('password'), attr.autocomplete('new-password'), attr.required(''), function focus() {
passwordHint.style.display = ''
}),
),