So I have metamask which correctly works and shows correct ethAddress when logged in but after logging in if I change metamask address it doesn’t displays the new ethAddress and still displays the other address.
I’m doing this just for testing purposes.
Here’s my code:
//displaying eth address
Moralis.User.currentAsync().then(function(user) { var wallet = user.get('ethAddress'); document.getElementById('address').innerHTML = wallet; });
In dashboard I do have both address and it will show the correct address upon logging in regardless the ethAddress used, but after logging in if I change wallet address it doesn’t show the new address