Skip to content

Commit 998afeb

Browse files
committed
Addressing feedback
1 parent ae023fc commit 998afeb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/auth/user-record.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ export abstract class MultiFactorInfo {
134134
multiFactorInfo = new PhoneMultiFactorInfo(response);
135135
} else if (response.totpInfo !== undefined) {
136136
multiFactorInfo = new TotpMultiFactorInfo(response);
137+
} else {
138+
// Ignore the other SDK unsupported MFA factors to prevent blocking developers using the current SDK.
137139
}
138140
} catch (e) {
139141
// Ignore error.
@@ -237,6 +239,7 @@ export class PhoneMultiFactorInfo extends MultiFactorInfo {
237239
phoneNumber: this.phoneNumber,
238240
});
239241
}
242+
240243
/**
241244
* Returns the factor ID based on the response provided.
242245
*

0 commit comments

Comments
 (0)