[Koha-bugs] [Bug 33815] Crash when librarian changes their own username in the staff interface

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 24 16:55:38 CEST 2023


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

--- Comment #6 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 151634
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151634&action=edit
Bug 33815: Do not explode if logged in user modify their own userid

If the logged in librarian modifies their own userid they will get the
following error when submitting the form:
Can't call method "password_expired" on an undefined value at
/kohadevbox/koha/C4/Auth.pm line 1780

We could handle this situation and flag the session as expired. Better
would be to deal with this specific user case and update the cookie (?)

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


More information about the Koha-bugs mailing list