From abd832e96f9c3468c469d595629ccd3da8264ffc Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 20 Jan 2022 15:47:11 +0100 Subject: [PATCH] Bug 28786: Don't expose secret and auth_method to the REST API This can be done later if needed. --- Koha/Patron.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Koha/Patron.pm b/Koha/Patron.pm index 3414546ca26..8a412731f3f 100644 --- a/Koha/Patron.pm +++ b/Koha/Patron.pm @@ -1836,6 +1836,8 @@ sub to_api_mapping { altcontactstate => 'altcontact_state', altcontactzipcode => 'altcontact_postal_code', primary_contact_method => undef, + secret => undef, + auth_method => undef, }; } -- 2.25.1