Bug 19908: Do not use .optional in password match validation function
authorJosef Moravec <josef.moravec@gmail.com>
Mon, 5 Feb 2018 08:25:03 +0000 (08:25 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 19 Mar 2018 15:23:13 +0000 (12:23 -0300)
commite24e7ad7f17fb957c6747fa76ff79be30769eaa1
tree4605c3fac3789558da41eb41a3c74bf43ec88e32
parentbe4d4a8e28a85f2baf90b03127428cadb551a00e
Bug 19908: Do not use .optional in password match validation function

Test plan:
0) Aplly only first patch
1) You will be able to submit a from on member-password.pl even if the
passwords don't match
2) Apply this patch -> you can't be able to submit the form if the
paswords don't match, but you'll be able to submit the form when
password fields are blank

Signed-off-by: Roch D'Amour <roch.damour@inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/includes/password_check.inc