Bug 27148: (QA follow-up) Calculate default_strong_password correctly
authorNick Clemens <nick@bywatersolutions.com>
Mon, 21 Dec 2020 16:06:35 +0000 (16:06 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 28 Dec 2020 14:56:06 +0000 (15:56 +0100)
commitcfb0e9bf98f7a1080aa2b83cb2fcf59251e066e3
tree968fbdd9c4cdf75eec514cdcc3390908fcc9df7b
parent33e1b3bce56b53dd354930d4f728ee0be3e0b68a
Bug 27148: (QA follow-up) Calculate default_strong_password correctly

Fix a typo lenght for length

If category strong password is not set, then we fall back to the preference, but that can be "" - which should be treated as 0

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 3b56076405bd0d171b702a63564339d80fa99359)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt