Cuando el usuario se registra, el display name no se guarda.
Traté de crear un sistema de inicio de sesión y todo funciona bien hasta el displayName (ver más abajo).
¿Alguien puede decirme qué estoy haciendo mal?
function signUp() { // Fetching value from a html input fields with id const email = document.getElementById("email").value; const password = document.getElementById("password").value; // Fetching additional informations const displayName = document.getElementById("displayName").value; // Performing Sign Up Operation firebase.auth().createUserWithEmailAndPassword(email, password); user.updateProfile({ displayName: displayName }); };