From f9f22c381d6142500e0e602aaf510277338e19bf 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 6414abf9cb9..036ba1dea01 100644 --- a/Koha/Patron.pm +++ b/Koha/Patron.pm @@ -1928,6 +1928,8 @@ sub to_api_mapping { altcontactstate => 'altcontact_state', altcontactzipcode => 'altcontact_postal_code', primary_contact_method => undef, + secret => undef, + auth_method => undef, }; } -- 2.25.1