[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) {
|
(RCTPromiseRejectBlock) reject) {
|
||||||
FIRApp *firApp = [FIRApp appNamed:appName];
|
FIRApp *firApp = [FIRApp appNamed:appName];
|
||||||
|
|
||||||
FIRUser *user = [FIRAuth auth].currentUser;
|
FIRUser *user = [FIRAuth authWithApp:firApp].currentUser;
|
||||||
|
|
||||||
if (user) {
|
if (user) {
|
||||||
[user updatePassword:password completion:^(NSError *_Nullable error) {
|
[user updatePassword:password completion:^(NSError *_Nullable error) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user