From 0d67c5d2cd74c34980fb0ceeaa82e914bdb99c03 Mon Sep 17 00:00:00 2001 From: Thomas Dohmke Date: Tue, 17 Sep 2013 13:45:06 +0200 Subject: [PATCH] bit_appAnonID already checks for the identifierForVendor. --- Classes/BITAuthenticator.m | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Classes/BITAuthenticator.m b/Classes/BITAuthenticator.m index 95c78eae64..1fc9cdb6ce 100644 --- a/Classes/BITAuthenticator.m +++ b/Classes/BITAuthenticator.m @@ -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 {