You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Some code paths use _login to create an anonymous user but this is overly complicated when they can just directly call createNewUser.
* createNewUser will set the _user instance so there is no need to set it after the method returns
* Now, _login is only used by the public login method, so remove this helper _login method.
The SDK needs to have a user at all times, so this method will create a new anonymous user. If the current user is already anonymous, calling `logout` results in a no-op.
0 commit comments