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

session states: null for non-auth #58

Merged
merged 1 commit into from
Feb 14, 2017
Merged

session states: null for non-auth #58

merged 1 commit into from
Feb 14, 2017

Conversation

ilyavf
Copy link
Contributor

@ilyavf ilyavf commented Feb 14, 2017

We need 3 states for Session.current:

  1. null for non-authenticated;
  2. undefined for the initial value or when we are waiting for authentication;
  3. instance when we are successfully authenticated.

@ilyavf ilyavf merged commit fdbb6da into master Feb 14, 2017
@ilyavf ilyavf deleted the session-states branch February 14, 2017 20:49
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