From e96f95edf1d74db32dd74dd0a4336adab516004d 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. Signed-off-by: Fridolin Somers --- Koha/Patron.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Koha/Patron.pm b/Koha/Patron.pm index e88e72551c..3a26db0d6a 100644 --- a/Koha/Patron.pm +++ b/Koha/Patron.pm @@ -1932,6 +1932,8 @@ sub to_api_mapping { altcontactstate => 'altcontact_state', altcontactzipcode => 'altcontact_postal_code', primary_contact_method => undef, + secret => undef, + auth_method => undef, }; } -- 2.39.5