Lemmy: Small adjustments of password fields

Created on 11 May 2020  ·  6Comments  ·  Source: LemmyNet/lemmy

There are two places where password fields request an auto-fill were they should not, and it tends to bug the non-geeky user:

  1. on the login / sign in page, only the login password field should request an autofill, currently it fills both login and sign in.
    => Modify the sign in password field to not request an autofill
  2. on the setting page, the "current password" field request an autofill as well, this forces the user to delete the content if she/he does not want to change the password, since the "new password" and "retype new password" field are blank.
    => Modify the "current password" field to not request an autofill on the setting page.

Browser: Firefox 76.0, OS: Neon

Keep it up, you guys rock! Best

enhancement

All 6 comments

Does anyone know the right way to do this? AFAIK just using <input type="password", your browser will try to autofill every password field.

How to turn off form autocompletion - Web security | MDN

Adding autoComplete=“new-password” to the password fields worked for me on both Firefox and Chrome.

I tried autoComplete=“off” first but it did not work, seems like most browsers ignore it.

Thx @sylviaji and @mateMathieu , that did it.

I confirm the bug is solved, @dessalines sterling job!!!

No probs.

Was this page helpful?
0 / 5 - 0 ratings