If I have created 2 users with 2 different addresses. Is it possible to update the current user object when changing the accounts from metamask without calling the authenticate function?
My current workaround is when ever the active account is changed from metamask. using the Moralis.Web3.onAccountsChanged event I call the logout function and call the authenticate function.