Skip to content

Commit e8b5411

Browse files
committed
attempt migration once
1 parent 594f8b7 commit e8b5411

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

GoogleSignIn/Sources/GIDAuthStateMigration.m

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,6 @@ - (void)performDataProtectedMigrationIfNeeded {
107107
if (authSession) {
108108
NSError *err;
109109
[self.keychainStore saveAuthSession:authSession error:&err];
110-
// If we're unable to save to the keychain, return without marking migration performed.
111-
if (err) {
112-
return;
113-
};
114110
[keychainStoreLegacy removeAuthSessionWithError:nil];
115111
}
116112

@@ -138,10 +134,6 @@ - (void)performGIDMigrationIfNeededWithTokenURL:(NSURL *)tokenURL
138134
if (authSession) {
139135
NSError *err;
140136
[self.keychainStore saveAuthSession:authSession error:&err];
141-
// If we're unable to save to the keychain, return without marking migration performed.
142-
if (err) {
143-
return;
144-
};
145137
}
146138

147139
// Mark the migration check as having been performed.

0 commit comments

Comments
 (0)