amark / gun

An open source cybersecurity protocol for syncing decentralized graph data.
https://gun.eco/docs
Other
17.96k stars 1.16k forks source link

auth event not triggered #1300

Closed pwFoo closed 1 year ago

pwFoo commented 1 year ago

Hi, I used gun.on('auth', cb) to execute code if user is logged in. Updated to current gun.js / sea.js files from repo and event isn't triggered anymore! Something changed with that event or a bug?

amark commented 1 year ago

You sure? I just checked with this basic login app https://github.com/amark/gun/blob/master/examples/basic/post.html and it is triggering. Help show how to replicate? Thanks!