diff --git a/C4/Auth.pm b/C4/Auth.pm index d6b0297434..03b8c4c5c1 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -1080,6 +1080,7 @@ sub checkauth { # we have to check they are coming from the right ip range my $domain = $branches->{$branchcode}->{'branchip'}; + $domain =~ s|\.\*||g; if ( $ip !~ /^$domain/ ) { $loggedin = 0; $info{'wrongip'} = 1;