From af4f721feedf1f46503d06255f7cfb596a5845c8 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 0c16079fa98..e04763a480d 100644 --- a/Koha/Patron.pm +++ b/Koha/Patron.pm @@ -1922,6 +1922,8 @@ sub to_api_mapping { altcontactstate => 'altcontact_state', altcontactzipcode => 'altcontact_postal_code', primary_contact_method => undef, + secret => undef, + auth_method => undef, }; } -- 2.25.1