Bug 21061

Summary: Clean up expired password recovery requests
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: OPACAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Katrin Fischer 2018-07-11 16:48:37 UTC
From reading the code it looks like entries to borrower_password_recovery are only cleaned up when an expired verification link is clicked or a password is reset successfully.

It would be nice to have an option in cleanup_database to regularly clean up the table by deleting requests expired more than x days.