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 : reject promises instead of resolving to false #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

seb-icp
Copy link

@seb-icp seb-icp commented Aug 15, 2022

The two asynchronous methods .connect() & .load() when catching an error should reject the promise instead of resolving to false (as it is currently).

This allows for the possibility of catching those rejections & handling those issues properly to offers a better UX for the set of users that have issues login in (Brave, no cookies, no cross site tracking...).

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.

1 participant