Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How disconnect account? #2285

Open
1 task done
yanfeizuo opened this issue Sep 9, 2024 · 1 comment
Open
1 task done

How disconnect account? #2285

yanfeizuo opened this issue Sep 9, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@yanfeizuo
Copy link

Current Behavior

Now,I can diconnect wallet by the interface disconnectWallet,but I need disconnect the account by the same time.Is there a interface to diconnect account.

Expected Behavior

When I disconnect your wallet, disconnect my account as well.

Steps To Reproduce

No response

What package is effected by this issue?

@web3-onboard/vue

Is this a build or a runtime issue?

Build

Package Version

2.8.2

Node Version

No response

What browsers are you seeing the problem on?

No response

Relevant log output

No response

Anything else?

No response

Sanity Check

  • If this is a build issue, I have included my build config. If this is a runtime issue, I have included reproduction steps and/or a Minimal, Reproducible Example.
@yanfeizuo yanfeizuo added the bug Something isn't working label Sep 9, 2024
@pellyadolfo
Copy link

pellyadolfo commented Sep 25, 2024

yes, in order to switch account, after disconnect wallet, i have to manually go to metamask and disconnect the account myself. Otherwise, the next time I connect, web3-onboard uses directly the same account, +1

The AccountCenter says: Action required in MetaMask
Please switch the active account in your wallet. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants
@pellyadolfo @Adamj1232 @yanfeizuo and others