How to remember is a user used wallet connect or metamask when logging in?

If a user logs in with wallet connect we have to enable web 3 like so: await Moralis.enableWeb3({provider: “walletconnect”})

If the user returns, there is still a Moralis.User.current(), but web3 needs to be re-enabled. Is there a way to see that this user originally used wallet connect ? So that when re enabling web3 I can call the correct enableWeb3 method?

You could use the localStorage item connectorId which will have injected, walletconnect, etc. based on what you use to authenticate. Or maybe set your own local storage item when the user chooses their method of authentication/web3 connection.