summaryrefslogtreecommitdiff
path: root/Juick/AppDelegate.m
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/AppDelegate.m')
-rw-r--r--Juick/AppDelegate.m5
1 files changed, 2 insertions, 3 deletions
diff --git a/Juick/AppDelegate.m b/Juick/AppDelegate.m
index a07d0e3..c3a2f77 100644
--- a/Juick/AppDelegate.m
+++ b/Juick/AppDelegate.m
@@ -40,9 +40,8 @@
[self parseNotificationPayload:userInfo];
} else {
if ([[NSUserDefaults standardUserDefaults] objectForKey:@"FirstRun"] == nil) {
- [[PDKeychainBindings sharedKeychainBindings] setObject:nil forKey:@"com.juick.username"];
- [[PDKeychainBindings sharedKeychainBindings] setObject:nil forKey:@"com.juick.password"];
- [[NSUserDefaults standardUserDefaults] setObject:@"1" forKey:@"FirstRun"];
+ [SAMKeychain deletePasswordForService:[[NSBundle mainBundle] bundleIdentifier] account:@"com.juick.username"];
+ [SAMKeychain deletePasswordForService:[[NSBundle mainBundle] bundleIdentifier] account:@"com.juick.username"];
}
}
return YES;