Start a new topic

KCSUser loginWithUsername - What happens if there is a current activeUser?

1) Does the activeUser get changed overwritten to the newly logged in user?

2) Or should I first logout the current activeUser, then login with the new creds?

1 Comment

If the login is successful, the new user will become the active one. The only issue is if you try do anything before the new user login is complete, any requests currently pending will be performed with the previous user's credentials.
Login or Signup to post a comment