Skip to content

Commit cb418e9

Browse files
Fixes obfuscation bug in phone auth code confirmation. (#315)
1 parent a82a113 commit cb418e9

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fixed - Fixes obfuscation bug when confirming an OTP for phone authentication.

javascript/widgets/handler/phonesigninfinish.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ firebaseui.auth.widget.handler.onPhoneSignInFinishSubmit_ = function(
134134
firebaseui.auth.soy2.strings.dialogVerifyingPhoneNumber().toString());
135135
app.registerPending(component.executePromiseRequest(
136136
/** @type {function (): !goog.Promise} */ (
137-
goog.bind(phoneAuthResult['confirm'], phoneAuthResult)),
137+
goog.bind(phoneAuthResult.confirm, phoneAuthResult)),
138138
[verificationCode],
139139
// On success a user credential is returned.
140140
function(userCredential) {

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)