From a7978a9e97e98c5f2322b16b32289bb59bd1f26f Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 28 Jan 2019 12:37:54 -0300 Subject: [PATCH] Bug 17006: (follow-up) set_password expects a hashref Signed-off-by: Tomas Cohen Arazi Signed-off-by: Nick Clemens --- Koha/REST/V1/Patrons/Password.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/REST/V1/Patrons/Password.pm b/Koha/REST/V1/Patrons/Password.pm index f8e14947d8..db8512e47c 100644 --- a/Koha/REST/V1/Patrons/Password.pm +++ b/Koha/REST/V1/Patrons/Password.pm @@ -59,7 +59,7 @@ sub set { return try { ## Change password - $patron->set_password($password); + $patron->set_password({ password => $password }); return $c->render( status => 200, openapi => "" ); } -- 2.39.5