Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: idlemanager starting before login suceeds #646

Merged
merged 3 commits into from Oct 18, 2022
Merged

Conversation

krpeacock
Copy link
Contributor

@krpeacock krpeacock commented Oct 14, 2022

Description

I observed by setting a low timeout that idlemanager was firing even when I had not logged in. This changes the logic so that the idle timeout does not start counting unless an identity is passed in idleOptions, or after authClient.login succeeds.

How Has This Been Tested?

New unit tests

Checklist:

  • My changes follow the guidelines in CONTRIBUTING.md.
  • The title of this PR complies with Conventional Commits.
  • I have edited the CHANGELOG accordingly.
  • I have made corresponding changes to the documentation.

@krpeacock krpeacock requested a review from a team as a code owner October 14, 2022 21:02
@krpeacock krpeacock changed the title Kyle/idlemanager init bug: idlemanager starting before login suceeds Oct 14, 2022
@krpeacock krpeacock changed the title bug: idlemanager starting before login suceeds fix: idlemanager starting before login suceeds Oct 14, 2022
@krpeacock krpeacock merged commit 0ff62dc into main Oct 18, 2022
@krpeacock krpeacock deleted the kyle/idlemanager-init branch October 18, 2022 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants