diff --git a/packages/composables/modal-vue-composables/src/Web3AuthProvider.ts b/packages/composables/modal-vue-composables/src/Web3AuthProvider.ts index 7b6fed300..b3e394e53 100644 --- a/packages/composables/modal-vue-composables/src/Web3AuthProvider.ts +++ b/packages/composables/modal-vue-composables/src/Web3AuthProvider.ts @@ -57,9 +57,6 @@ export const Web3AuthProvider = defineComponent({ if (!web3Auth.value) throw WalletInitializationError.notReady(); if (!isConnected.value) throw WalletLoginError.notConnectedError(); await web3Auth.value.manageMFA(loginParams); - const localUserInfo = await web3Auth.value.getUserInfo(); - userInfo.value = localUserInfo; - isMFAEnabled.value = localUserInfo.isMfaEnabled || false; }; const logout = async (logoutParams: { cleanup: boolean } = { cleanup: false }) => { diff --git a/packages/composables/no-modal-vue-composables/src/Web3AuthProvider.ts b/packages/composables/no-modal-vue-composables/src/Web3AuthProvider.ts index 38874f813..989d29feb 100644 --- a/packages/composables/no-modal-vue-composables/src/Web3AuthProvider.ts +++ b/packages/composables/no-modal-vue-composables/src/Web3AuthProvider.ts @@ -58,9 +58,6 @@ export const Web3AuthProvider = defineComponent({ if (!web3Auth.value) throw WalletInitializationError.notReady(); if (!isConnected.value) throw WalletLoginError.notConnectedError(); await web3Auth.value.manageMFA(loginParams); - const localUserInfo = await web3Auth.value.getUserInfo(); - userInfo.value = localUserInfo; - isMFAEnabled.value = localUserInfo.isMfaEnabled || false; }; const logout = async (logoutParams: { cleanup: boolean } = { cleanup: false }) => { diff --git a/packages/hooks/modal-react-hooks/src/context/Web3AuthInnerContext.ts b/packages/hooks/modal-react-hooks/src/context/Web3AuthInnerContext.ts index ada8e587b..4c54020b1 100644 --- a/packages/hooks/modal-react-hooks/src/context/Web3AuthInnerContext.ts +++ b/packages/hooks/modal-react-hooks/src/context/Web3AuthInnerContext.ts @@ -64,9 +64,6 @@ export function Web3AuthInnerProvider(params: PropsWithChildren