Skip to content
This repository has been archived by the owner on May 13, 2023. It is now read-only.

fix: correct expiry margin #130

Merged
merged 1 commit into from
Mar 29, 2023
Merged

fix: correct expiry margin #130

merged 1 commit into from
Mar 29, 2023

Conversation

Vinzent03
Copy link
Contributor

@Vinzent03 Vinzent03 commented Mar 28, 2023

I've noticed that the expiry margin gets wrongly applied. If expiresAt is minimal more than timeNow it still doesn't get fired.

See gotrue-js implementation.

Copy link
Member

@dshukertjr dshukertjr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

@dshukertjr dshukertjr merged commit 68f7fd9 into main Mar 29, 2023
@dshukertjr dshukertjr deleted the fix/recover branch March 29, 2023 06:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants