packages/auth/demo/public/script.js
function onApplyActionCode() {
  var code = $('#email-verification-code').val();
  auth.applyActionCode(code).then(function() {
    alertSuccess('Email successfully verified!');
    refreshUserData();
  }, onAuthError);
}
function onApplyActionCode() {
  var code = $('#email-verification-code').val();
  auth.applyActionCode(code).then(function() {
    alertSuccess('Email successfully verified!');
    refreshUserData();
  }, onAuthError);
}
function onApplyActionCode ( ) { var code = $ ( '#email-verification-code' ) . val ( ) ; auth . applyActionCode ( code ) . then ( function ( ) { alertSuccess ( 'Email successfully verified!' ) ; refreshUserData ( ) ; } , onAuthError ) ; }
Confirms the email verification code given.
Confirms the email verification code given .