Archived
1
0

Hook: Use GL_USER instead of repo_login

This commit is contained in:
Mercier Pierre-Olivier 2013-11-16 13:32:39 +01:00
parent 2f6b3a9812
commit db62048be2

View File

@ -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');