bit_appAnonID already checks for the identifierForVendor.

This commit is contained in:
Thomas Dohmke 2013-09-17 13:45:06 +02:00
parent 63882f30c0
commit 0d67c5d2cd

View File

@ -585,13 +585,9 @@ static NSString* const kBITAuthenticatorDidSkipOptionalLogin = @"BITAuthenticato
#pragma mark - Property overrides
// Return value is used to invalidate the authentication on a clean install
- (NSString *)installationIdentifier {
if ([self.currentDevice respondsToSelector:@selector(identifierForVendor)]) {
return self.currentDevice.identifierForVendor.UUIDString;
}
else {
return bit_appAnonID();
}
return bit_appAnonID();
}
- (void)setAuthenticationToken:(NSString *)authenticationToken withType:(NSString*) authenticationTokenType {