iOS: Remove verification data when UUID is created

This commit is contained in:
Martin Fleisz 2013-05-07 12:38:25 +02:00
parent 544f5997bc
commit cc188b5796

View File

@ -115,6 +115,7 @@ static EncryptionController* _shared_encryption_controller = nil;
{
password = [NSString stringWithUUID];
[[NSUserDefaults standardUserDefaults] setObject:password forKey:@"UUID"];
[[NSUserDefaults standardUserDefaults] removeObjectForKey:@"TSXMasterPasswordVerification"];
}
return password;
}