packages/auth/demo/public/script.js
function onConfirmPasswordReset() {
  var code = $('#password-reset-code').val();
  var password = $('#password-reset-password').val();
  auth.confirmPasswordReset(code, password).then(function() {
    alertSuccess('Password has been changed!');
  }, onAuthError);
}
function onConfirmPasswordReset() {
  var code = $('#password-reset-code').val();
  var password = $('#password-reset-password').val();
  auth.confirmPasswordReset(code, password).then(function() {
    alertSuccess('Password has been changed!');
  }, onAuthError);
}
function onConfirmPasswordReset ( ) { var code = $ ( '#password-reset-code' ) . val ( ) ; var password = $ ( '#password-reset-password' ) . val ( ) ; auth . confirmPasswordReset ( code , password ) . then ( function ( ) { alertSuccess ( 'Password has been changed!' ) ; } , onAuthError ) ; }
Confirms the password reset with the code and password supplied by the user.
Confirms the password reset with the code and password supplied by the user .