Another user's data coming when user signup using GUN JS

Viewed 11

when i create a new user in browser 1, its working success. in browser 1

when i create a new user in browser 2, the browser 1 data also coming in localStorage. in browser 2

await user.create(signupEmail, signupPassword, async ({ err }) => {
            if (err) {
              console.log(err)
            } else {
              console.log(user)
              console.log(user.is.pub)

              let userData = {
                FirstName : this.signupEmail,
                LastName : this.signupEmail,
                PublicKey : user.is.pub
              }
    
              var meData = gun.get('Me');
              var me = meData.set(userData); // create all users in Me table
    
              var mePubData = gun.get(user.is.pub).put({MeId : me});
            }
          });

I don't want user 1 data in browser 2. what is wrong on this code ? Please help me.. Thanks

0 Answers
Related