[Koha-bugs] [Bug 18025] New: Expired password recovery links cause sql crash
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jan 31 23:04:14 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18025
Bug ID: 18025
Summary: Expired password recovery links cause sql crash
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: OPAC
Assignee: oleonard at myacpl.org
Reporter: liz at catalyst.net.nz
QA Contact: testopia at bugs.koha-community.org
Trying to reset a password with an expired token leads to a very user
unfriendly sql crash:
DBD::mysql::st execute failed: Duplicate entry '19' for key 'PRIMARY' [for
Statement "INSERT INTO `borrower_password_recovery` ( `borrowernumber`, `uuid`,
`valid_until`) VALUES ( ?, ?, ? )" with ParamValues: 0='19',
1='$2a$08$O8FjE434Ue3DLtGTgQB3Bu', 2='2017-02-02T22:03:01'] at
/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1832.
DBIx::Class::Storage::DBI::_dbh_execute(): Duplicate entry '19' for key
'PRIMARY' at /home/vagrant/kohaclone/Koha/Patron/Password/Recovery.pm line 127
We should delete these if they exist, and issue a new token.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list