Kaynağa Gözat

Don't actually check that the user is on the system;

This can cause problems with LDAP authenticators
George S. Baugh 11 yıl önce
ebeveyn
işleme
0563a1ce7e
1 değiştirilmiş dosya ile 0 ekleme ve 4 silme
  1. 0 4
      lib/TestRail/API.pm

+ 0 - 4
lib/TestRail/API.pm

@@ -109,10 +109,6 @@ sub new {
     confess "No users detected on TestRail Install!  Check that your API is functioning correctly." if !scalar(@$res);
     $self->{'user_cache'} = $res;
 
-    #Check that the User is actually in the list
-    my $usr = $self->getUserByEmail($user);
-    confess "Could not find your TestRail user on the system!" if !(reftype($usr) eq 'HASH');
-
     return $self;
 }