[Koha-bugs] [Bug 31492] Patron image upload fails on first attempt with CSRF failure

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 13 20:03:46 CET 2023


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

--- Comment #6 from Lucas Gass <lucas at bywatersolutions.com> ---
Created attachment 145303
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=145303&action=edit
Bug 31492: Set CSRF token in circulation.pl

To test:
* Turn on patronimages system preferences
* Go to any patron account
* Hover over the 'dummy image' for the Add button
* Browse and select an image for upload
* Saving results in the following error:

The form submission failed (Wrong CSRF token). Try to come back, refresh the
page, then try again.

Apply patch and try again. You shouldn't need to try twice, it should work on
the first attempt now.

-- 
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