[koha-commits] main Koha release repository branch master updated. v16.11.00-434-ga471ad8
Git repo owner
gitmaster at git.koha-community.org
Fri Feb 17 12:31:40 CET 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via a471ad80bb70ed790cf7f544a45cdd3e61672ff4 (commit)
via 01f69eb8a258cead5f448c70e1efddc87a341299 (commit)
via e87dab6411a40ae0eba3d56032760d705ef62eaf (commit)
from 745c4c3da662ac71874f9be8e88d111bc6fe8b1c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a471ad80bb70ed790cf7f544a45cdd3e61672ff4
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Wed Feb 15 17:14:11 2017 +0000
Bug 18025: Simplify logic and avoid 1 call to ValidateBorrowernumber
Signed-off-by: Liz Rea <liz at catalyst.net.nz>
This is fine with me.
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
commit 01f69eb8a258cead5f448c70e1efddc87a341299
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Wed Feb 15 17:13:41 2017 +0000
Bug 18025: Fix test
Signed-off-by: Liz Rea <liz at catalyst.net.nz>
Seems to work fine
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
commit e87dab6411a40ae0eba3d56032760d705ef62eaf
Author: Liz Rea <liz at catalyst.net.nz>
Date: Tue Jan 31 21:59:01 2017 +0000
Bug 18025 - Expired password recovery links cause sql crash
When a user gets an email, but doesn't act or visit it within two days,
attempting to create a new one causes a collision. We should just
delete the old one, assuming they still want to reset their
password.
To test:
create yourself a borrower with a userid and password.
Attempt a password recovery on the OPAC
update the entry in the database for that user to have an expired token
e.g. update borrower_password_recovery set valid_until = '2017-01-25
03:25:26' where borrowernumber = 12;
Attempt another password recovery operation - should error
apply the patch
Try it again - no error, new token is generated and additional email
with new link is sent.
Issue reproduced - is resolved by patch
Signed-off-by: Marc Véron <veron at veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
Koha/Patron/Password/Recovery.pm | 21 ++++++++++++++++--
opac/opac-password-recovery.pl | 15 +++++++------
t/db_dependent/Passwordrecovery.t | 43 +++++++++++++++++++++++++++++++++++--
3 files changed, 69 insertions(+), 10 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list