Skip to content

Commit a85f5fa

Browse files
Parity in response format between ios and android
1 parent 483e15f commit a85f5fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ios/Firestack/FirestackAuth.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,8 @@ @implementation FirestackAuth
186186
FIRUser *user = [FIRAuth auth].currentUser;
187187

188188
if (user != nil) {
189-
NSDictionary *userProps = [self userPropsFromFIRUser:user];
189+
NSMutableDictionary *userProps = [self userPropsFromFIRUser:user];
190+
[userProps setValue: @((BOOL)true) forKey: @"authenticated"];
190191
callback(@[[NSNull null], userProps]);
191192
} else {
192193
// No user is signed in.

0 commit comments

Comments
 (0)