[Koha-bugs] [Bug 31739] New: Password reset from staff fails if previous expired reset-entry exists

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 12 12:16:42 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31739

            Bug ID: 31739
           Summary: Password reset from staff fails if previous expired
                    reset-entry exists
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Patrons
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: bjorn.nylen at ub.lu.se
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

Bug 30611 enabled the password reset to be initiated from the patron details
page. However if there is a previous *expired* reset-entry in the db then Koha
will try to insert a new entry and fail with a "duplicate key"-error.

To reproduce:
Initiate a password reset, don't complete.
Wait until expired (or modify expiry in db)
Initiate a new reset from Staff -- FAIL

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list