]> 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>
Tue, 6 Jun 2023 19:20:58 +0000 (16:20 -0300)
commit4a3ae69173950456908cd22c6bac273fffae3f1a
treee7d2904ce024c570f80c8cbaf69337320e9e04c6
parent292c0ea24d73f9d5ad992b1c97ef872e3b962888
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