code: function onReauthConfirmPhoneVerification() {
    var verificationId = $('#link-reauth-phone-verification-id').val();
    var verificationCode = $('#link-reauth-phone-verification-code').val();
    var credential = firebase.auth.PhoneAuthProvider.credential(
        verificationId, verificationCode);
    activeUser().reauthenticateWithCredential(credential)
        .then(function(result) {
          logAdditionalUserInfo(result);
          refreshUserData();
          alertSuccess('User reauthenticated!');
        }, onAuthError);
  }
docs: Confirms a phone number verification for reauthentication.