[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 17:31:54 CEST 2023


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

--- Comment #9 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 151643
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151643&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 (?)

Signed-off-by: Owen Leonard <oleonard at myacpl.org>

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


More information about the Koha-bugs mailing list