Tomas Cohen Arazi
6fba85d23b
If the passed credentials are wrong, we shouldn't expose things like the password is expired. This patch takes care of that. To test: 1. Have a known patron with password_expiration_date set so its password is expired. Can be done like: $ koha-mysql kohadev > UPDATE borrowers \ SET password_expiration_date='2022-04-25' \ WHERE borrowernumber=132; Note: change the borrowernumber 2. Attempt to login to the OPAC with wrong credentials => SUCCESS: You are rejected, with a message telling credentials are wrong => FAIL: You are told the password is expired. 3. Apply this patch and restart Plack 4. Repeat 2 => SUCCESS: You are rejected, credentials are wrong and no mention to password being expired. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> |
||
---|---|---|
.. | ||
intranet-tmpl | ||
opac-tmpl |