Skip to content

Commit

Permalink
Disallow empty event token
Browse files Browse the repository at this point in the history
  • Loading branch information
uerceg committed Jun 26, 2019
1 parent 52f887e commit cace968
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Adjust/ADJEvent.m
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ - (BOOL)checkEventToken:(NSString *)eventToken {
[self.logger error:@"Missing Event Token"];
return NO;
}
if ([eventToken length] <= 0) {
[self.logger error:@"Event Token can't be empty"];
return NO;
}
return YES;
}

Expand Down

0 comments on commit cace968

Please sign in to comment.