[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
Fri May 26 02:04:57 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33815
David Cook <dcook at prosentient.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #151643|0 |1
is obsolete| |
--- Comment #16 from David Cook <dcook at prosentient.com.au> ---
Created attachment 151716
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151716&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>
Signed-off-by: David Cook <dcook at prosentient.com.au>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list