greymass / ual-anchor

Identity and session through ESR using EOSIO/universal-authenticator-library
MIT License
23 stars 16 forks source link

TypeError: user is undefined #16

Closed makc closed 3 years ago

makc commented 3 years ago

I think this happens when you click "go back" link without logging in, but not sure: Screen Shot 2021-03-24 at 3 27 35

aaroncox commented 3 years ago

Good catch - this should be a pretty easy fix. It looks like UAL is trying to call the logout function whenever you hit the back button, and our adapter wasn't expecting UAL to call logout unless the user was actually logged in. Thanks!

aaroncox commented 3 years ago

This should be resolved now with the release of 1.0.5. If the issue persists, feel free to reopen!