Hook: Use GL_USER instead of repo_login
This commit is contained in:
parent
2f6b3a9812
commit
db62048be2
@ -48,7 +48,7 @@ if ($ip->overlaps($labnetwork) == $IP_A_IN_B_OVERLAP)
|
|||||||
# exit 1;
|
# exit 1;
|
||||||
#}
|
#}
|
||||||
|
|
||||||
exit 0 if (grep { /\Q$repo_login\E/ } @habitent_loin);
|
exit 0 if (grep { /\Q$ENV{GL_USER}\E/ } @habitent_loin);
|
||||||
|
|
||||||
my $schoolnetwork = Net::IP->new('10.41.0.0/16');
|
my $schoolnetwork = Net::IP->new('10.41.0.0/16');
|
||||||
#my $vjschoolnetwork = Net::IP->new('10.3.0.0/16');
|
#my $vjschoolnetwork = Net::IP->new('10.3.0.0/16');
|
||||||
|
Reference in New Issue
Block a user