]> git.koha-community.org Git - koha.git/commit
Bug 18955 - autocomplete is on in OPAC password recovery
authorFridolin Somers <fridolin.somers@biblibre.com>
Wed, 19 Jul 2017 07:48:04 +0000 (09:48 +0200)
committerKatrin Fischer <katrin.fischer.83@web.de>
Thu, 27 Jul 2017 23:17:12 +0000 (01:17 +0200)
commit39745bb1ce4eb24435970b1700cb94528475e3a2
tree9fae13130cabae47991c0424a29e205fed8f969f
parentafb7aeec6d26f62f97d45060ec7d402dc6a77658
Bug 18955 - autocomplete is on in OPAC password recovery

In OPAC password recovery form autocomplete is not disabled.
So when login or email is entered, it is saved in browser input history for autocomplete.
This is a major issue for OPAC on computers with public access.

This patch adds autocomplete off on forms.

Test :
- Enable system preferences OpacPasswordChange and OpacResetPassword
- Go to OPAC
- Be sure to not be logged in
- Click on "Forgot your password?"
- Enter a loggin and email and Submit
=> Without patch there is an autocompletion with values you entered
=> With patch there is no autocompletion

Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 214a0e61021934c7e6deee5a24cf11606a57199b)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 7943a4500d45344e5ac4b02d2075ae039faf3d83)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt