We recently implemented this code to retrieve users data when signing in to the Metamask account. It worked during the first time of implementation. However, without any changes to the code, it currently cannot perform those actions. Here is the code, please take a look.
Previously, users details are recorded once signed in through Metamask.
Furthermore, the deactivate function did not work the second time.
- Users details are not recorded when signed in.
- The deactivate function is not working.
We would really hope someone could help us with this. Thank you.