[Koha-bugs] [Bug 19514] No Password restrictions in onboarding tool patron creation
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Nov 5 06:31:20 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19514
Alex Buckley <alexbuckley at catalyst.net.nz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Failed QA |In Discussion
--- Comment #6 from Alex Buckley <alexbuckley at catalyst.net.nz> ---
Hi Jonathan
I have tried implemented the client side validation by doing the following:
1. Adding the following pragma at the start of onboardingstep3.tt:
[% USE Koha %]
2. Adding the following to the bottom of the same file:
[% PROCESS 'password_check.inc' %]
[% PROCESS 'add_password_check' new_password => 'newpassword' %]
3. Added the following to the validation in the ../../../js/onboarding.js
password:
required: true,
password_strong: true
password_no_spaces: true
},?
password2: {
required: true,
password_match: true
}
.
I notice that I get the JS error 'TypeError: _(...).format is not a function.
This error is not thrown by the memberentrygen.tt file which uses the same
client side validation.
Can you give me any suggestions as to how to fix this issue
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list