File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
packages/firebase_auth/firebase_auth/ios/Classes Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -1252,12 +1252,6 @@ + (NSMutableDictionary *)getNSDictionaryFromUser:(FIRUser *)user {
1252
1252
NSMutableDictionary *userData = [[self getNSDictionaryFromUserInfo: user] mutableCopy ];
1253
1253
NSMutableDictionary *metadata = [NSMutableDictionary dictionary ];
1254
1254
1255
- // This code is necessary to avoid an iOS issue where when unlinking the `password` provider
1256
- // the previous email still remains on the currentUser.
1257
- if ([user.providerData count ] == 0 ) {
1258
- userData[@" email" ] = [NSNull null ];
1259
- }
1260
-
1261
1255
// metadata.creationTimestamp as milliseconds
1262
1256
long creationDate = (long )([user.metadata.creationDate timeIntervalSince1970 ] * 1000 );
1263
1257
metadata[@" creationTime" ] = @(creationDate);
You can’t perform that action at this time.
0 commit comments