packages/auth/demo/public/script.js
function onCopyLastUser() {
  // If last user is null, NULL_USER error will be thrown.
  auth.updateCurrentUser(lastUser).then(function() {
    alertSuccess('Copied last user to Auth');
  }, function(error) {
    alertError('Error: ' + error.code);
  });
}
function onCopyLastUser() {
  // If last user is null, NULL_USER error will be thrown.
  auth.updateCurrentUser(lastUser).then(function() {
    alertSuccess('Copied last user to Auth');
  }, function(error) {
    alertError('Error: ' + error.code);
  });
}
function onCopyLastUser ( ) { // If last user is null, NULL_USER error will be thrown. auth . updateCurrentUser ( lastUser ) . then ( function ( ) { alertSuccess ( 'Copied last user to Auth' ) ; } , function ( error ) { alertError ( 'Error: ' + error . code ) ; } ) ; }
Copy last user to auth.
Copy last user to auth .