checkToken(); signOut(); var id = getQuery("id"); if(id.length > 0){ instance.get("users/"+id, {withCredentials: true}) .then(function(response){ var listValue = [ "id", "pseudo", "name", "firstName", "email", "birth"]; for (var i=0; i 0){ console.log(disableUser); document.getElementById(buttonUser).classList.remove("hidden"); } }) .catch(function(error){ console.log(error); }); }