Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Jonathan Druart 3f9da34683 Bug 18298: Add server-side checks and refactor stuffs
Now that we have a check client-side, nothing prevents us from a smart guy to
bypass it and force an invalid password.
This patch adds two new subroutines to Koha::AuthUtils to check the
validity of passwords and generate a password server-side. It is used
only once (self-registration) but could be useful later.

Moreover the 3 different cases of password rejection (too leak, too
short, contains leading or trailing whitespaces) were not tested
everywhere. Now they are!

This patch makes things consistent everywhere and clean up some code.

Signed-off-by: Marc Véron <veron@veron.ch>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-10-16 09:44:32 -03:00
..
acqui Bug 19083: Fix 'show all details' link on closed basket detail 2017-10-13 13:57:56 -03:00
admin Bug 18298: Enforce password complexity 2017-10-16 09:44:32 -03:00
authorities Bug 18422 - Add Select2 to authority editor 2017-09-29 16:49:48 -03:00
basket
batch
catalogue Bug 18916: Add pagination to top of search results in staff client 2017-10-09 16:15:49 -03:00
cataloguing Bug 19413: (follow-up) Changed fieldset id value 2017-10-13 13:58:08 -03:00
circ Bug 19438: Fix sorting by date due in overdues.pl 2017-10-13 13:58:04 -03:00
clubs
common
course_reserves Bug 19228: Trigger confirm delete when removing item from course 2017-09-07 13:56:38 -03:00
errors
help Bug 19255: QA Followup - Fix tabs for spaces 2017-10-09 16:15:50 -03:00
installer
labels
members Bug 18298: Add server-side checks and refactor stuffs 2017-10-16 09:44:32 -03:00
offline_circ
onboarding
patron_lists
patroncards Bug 18528: Patron card creator template: switch form fields for card height and card width 2017-10-09 16:15:52 -03:00
plugins Bug 19173: Add opac payment and marc conversion plugins to the pulldown filter list 2017-09-19 14:15:52 -03:00
reports
reserve
reviews
rotating_collections
serials Bug 19086: Fix Stored XSS in subscription-detail.pl 2017-09-29 12:20:45 -03:00
services
sms
suggestion Bug 18399: (follow-up) Escape reason input 2017-10-11 13:05:42 -03:00
tags
test
tools Bug 19414: Move the location of the 'Import this batch into the catalog' button 2017-10-11 13:05:36 -03:00
virtualshelves Bug 19255: Correct explanation about list types on shelves.pl in staff 2017-10-09 16:15:50 -03:00
about.tt Bug 19397: Release team for 17.11 2017-10-09 16:15:51 -03:00
auth.tt
intranet-main.tt