Bug 35890: Reject login if IP is not valid

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2024-01-24 16:25:30 +01:00
parent 8fb9b814aa
commit e59623bfc2
No known key found for this signature in database
GPG Key ID: A085E712BEF0E0F0
1 changed files with 1 additions and 0 deletions

View File

@ -1209,6 +1209,7 @@ sub checkauth {
-sameSite => 'Lax',
));
$info{'wrongip'} = 1;
$auth_state = "failed";
}
}