]> git.koha-community.org Git - koha.git/commit
Bug 33343: Catch more cases and correctly use new-password hint
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 22 May 2023 14:54:14 +0000 (15:54 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 9 Jun 2023 15:04:57 +0000 (12:04 -0300)
commit915cf57510b4fcedcb6d328703c53a2701b1adc1
tree6f1d5c1242923667d7a62718bba708528395f6d6
parentb55b910a57f293ecaed07094ffcc8321f62a7d0f
Bug 33343: Catch more cases and correctly use new-password hint

I believe where we're allowing a user to set a new password instead of
using autocomplete="off" we should be hinting to the brownser that it's
a new password box with autocompelte="new-password".

I also correct a couple of missing instances.. Honestly, I'm not sure
how much this helps these days as most browsers offer to save passwords
regardless.

See: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/smtp_servers.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/member-password.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reset-password.tt