Bugzilla – Attachment 163117 Details for
Bug 36308
SIP2 login broken by CSRF changes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36308: Update sip login parameters
Bug-36308-Update-sip-login-parameters.patch (text/plain), 1.14 KB, created by
Nick Clemens (kidclamp)
on 2024-03-13 17:52:18 UTC
(
hide
)
Description:
Bug 36308: Update sip login parameters
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2024-03-13 17:52:18 UTC
Size:
1.14 KB
patch
obsolete
>From 9ff8c9ef9532cb04b16c68cb03403b0147c97383 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >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 >--- > 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 a5d7931d72a..3c52df30f47 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.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36308
:
163117
|
163123
|
163161