packages/auth/demo/public/script.js
function onCopyActiveUser() {
  tempAuth.updateCurrentUser(activeUser()).then(function() {
    alertSuccess('Copied active user to temp Auth');
  }, function(error) {
    alertError('Error: ' + error.code);
  });
}
function onCopyActiveUser() {
  tempAuth.updateCurrentUser(activeUser()).then(function() {
    alertSuccess('Copied active user to temp Auth');
  }, function(error) {
    alertError('Error: ' + error.code);
  });
}
function onCopyActiveUser ( ) { tempAuth . updateCurrentUser ( activeUser ( ) ) . then ( function ( ) { alertSuccess ( 'Copied active user to temp Auth' ) ; } , function ( error ) { alertError ( 'Error: ' + error . code ) ; } ) ; }
Copy current user of auth to tempAuth.
Copy current user of auth to tempAuth .