From e9352886facb73d3af056b03c6777366c197459c Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 13 Mar 2024 17:51:29 +0000 Subject: [PATCH] Bug 36308: Update sip login parameters To test: perl misc/sip_cli_emulator.pl -a localhost -p 6001 -su term1 -sp term1 -l CPL -m patron_information --patron=koha Login fails Apply patch, restart all perl misc/sip_cli_emulator.pl -a localhost -p 6001 -su term1 -sp term1 -l CPL -m patron_information --patron=koha Login succeeds Signed-off-by: David Nind Signed-off-by: Marcel de Rooy Signed-off-by: Katrin Fischer --- C4/SIP/Sip/MsgType.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/SIP/Sip/MsgType.pm b/C4/SIP/Sip/MsgType.pm index a5d7931d72..3c52df30f4 100644 --- a/C4/SIP/Sip/MsgType.pm +++ b/C4/SIP/Sip/MsgType.pm @@ -1753,8 +1753,8 @@ sub api_auth { my ( $username, $password, $branch ) = @_; $ENV{REMOTE_USER} = $username; my $query = CGI->new(); - $query->param( userid => $username ); - $query->param( password => $password ); + $query->param( login_userid => $username ); + $query->param( login_password => $password ); if ($branch) { $query->param( branch => $branch ); } -- 2.39.5