There was an error while loading. Please reload this page.
1 parent 86907d5 commit 363ff1eCopy full SHA for 363ff1e
ios/Firestack/FirestackAuth.m
@@ -187,14 +187,15 @@ @implementation FirestackAuth
187
188
if (user != nil) {
189
NSDictionary *userProps = [self userPropsFromFIRUser:user];
190
- NSMutableDictionary *responseProps = @{
+ NSDictionary *responseProps = @{
191
@"authenticated": @((BOOL) true),
192
@"user": userProps
193
};
194
callback(@[[NSNull null], responseProps]);
195
} else {
196
// No user is signed in.
197
NSDictionary *err = @{
198
+ @"authenticated": @((BOOL) false),
199
@"user": @"No user logged in"
200
201
callback(@[err]);
0 commit comments