From b1388cfc0e58e4f00d3d2c102621c84292fa301a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 24 Jan 2024 16:25:30 +0100 Subject: [PATCH] Bug 35890: Reject login if IP is not valid MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Matt Blenkinsop Signed-off-by: Kyle M Hall (cherry picked from commit 94e570d6af38c0061aeaad2ea25ab26bed2186f5) Signed-off-by: Fridolin Somers (cherry picked from commit bfbe854b6c8943b2afdec9a690a20d9615949962) Signed-off-by: Frédéric Demians --- C4/Auth.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Auth.pm b/C4/Auth.pm index 1765a9830e..df0da41252 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -1208,6 +1208,7 @@ sub checkauth { -sameSite => 'Lax', )); $info{'wrongip'} = 1; + $auth_state = "failed"; } } -- 2.39.5