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)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 23 Apr 2018 21:56:43 +0000 (21:56 +0000)
commit6bf4623501ce0e6a26c3ede9b54a324331f51480
treeb536acfb0f4a4a6a45cd1b3dba1d59e5da61fa1c
parent33bb028c9e683ac440573bc44b01aabda2b95fba
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>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/password_check.inc