From bfbe854b6c8943b2afdec9a690a20d9615949962 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 Signed-off-by: Matt Blenkinsop Signed-off-by: Kyle M Hall (cherry picked from commit 94e570d6af38c0061aeaad2ea25ab26bed2186f5) Signed-off-by: Fridolin Somers --- C4/Auth.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Auth.pm b/C4/Auth.pm index 027b16bbde..fe84671c82 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -1209,6 +1209,7 @@ sub checkauth { -sameSite => 'Lax', )); $info{'wrongip'} = 1; + $auth_state = "failed"; } } -- 2.39.5