function onUpdateProfile() {
  var displayName = $('#display-name').val();
  var photoURL = $('#photo-url').val();
  activeUser().updateProfile({
    'displayName': displayName,
    'photoURL': photoURL
  }).then(function() {
    refreshUserData();
    alertSuccess('Profile updated!');
  }, onAuthError);
}
function onUpdateProfile() {
  var displayName = $('#display-name').val();
  var photoURL = $('#photo-url').val();
  activeUser().updateProfile({
    'displayName': displayName,
    'photoURL': photoURL
  }).then(function() {
    refreshUserData();
    alertSuccess('Profile updated!');
  }, onAuthError);
}
function onUpdateProfile ( ) { var displayName = $ ( '#display-name' ) . val ( ) ; var photoURL = $ ( '#photo-url' ) . val ( ) ; activeUser ( ) . updateProfile ( { 'displayName' : displayName , 'photoURL' : photoURL } ) . then ( function ( ) { refreshUserData ( ) ; alertSuccess ( 'Profile updated!' ) ; } , onAuthError ) ; }
Changes the user's password.
Changes the user s password .
Update profile