bug 202534 - Login with unrestricted IP address fails - tries to access missing get_netaddr
r=bbaetz a=myk git-svn-id: svn://10.0.0.236/trunk@141419 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -58,7 +58,7 @@ sub login {
|
||||
my $ipaddr = $cgi->remote_addr;
|
||||
unless ($cgi->param('Bugzilla_restrictlogin') ||
|
||||
Param('loginnetmask') == 32) {
|
||||
$ipaddr = get_netaddr($ipaddr);
|
||||
$ipaddr = Bugzilla::Auth::get_netaddr($ipaddr);
|
||||
}
|
||||
|
||||
# The IP address is valid, at least for comparing with itself in a
|
||||
|
||||
Reference in New Issue
Block a user