[ios][auth] updatePassword fix
updatePassword using default app always by default, now uses correct app
This commit is contained in:
parent
d005e2f0aa
commit
1b6e4cbaad
|
@ -335,7 +335,7 @@ RCT_EXPORT_METHOD(updatePassword:
|
|||
(RCTPromiseRejectBlock) reject) {
|
||||
FIRApp *firApp = [FIRApp appNamed:appName];
|
||||
|
||||
FIRUser *user = [FIRAuth auth].currentUser;
|
||||
FIRUser *user = [FIRAuth authWithApp:firApp].currentUser;
|
||||
|
||||
if (user) {
|
||||
[user updatePassword:password completion:^(NSError *_Nullable error) {
|
||||
|
|
Loading…
Reference in New Issue