소스 검색

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

This can cause problems with LDAP authenticators
George S. Baugh 11 년 전
부모
커밋
0563a1ce7e
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  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;
 }