[Koha-bugs] [Bug 17109] sendbasket: Remove second authentication, add CSRF token

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 22 16:15:40 CEST 2016


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #54470|0                           |1
        is obsolete|                            |
  Attachment #54471|0                           |1
        is obsolete|                            |
  Attachment #54472|0                           |1
        is obsolete|                            |
  Attachment #54503|0                           |1
        is obsolete|                            |

--- Comment #10 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 54705
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=54705&action=edit
Bug 17109: Remove second authentication from (opac-)sendbasket

Patch deals with opac and intranet variant.
If we authenticated the first time, it is not necessary to do it
a second time rightaway.

Replaces a call to get_template_and_user (including checkauth) by
gettemplate.

Also removes duplicate use C4::Biblio statements.

Test plan:
[1] Put a few books in the cart.
[2] Send the cart from OPAC.
[3] Send the cart from intranet.

Tested 3 patches together. Works as expected.
Signed-off-by: Marc Véron <veron at veron.ch>

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

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


More information about the Koha-bugs mailing list