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

Feature: Check if Customer is Already Logged In #56

Open
2 tasks
larkinds opened this issue Sep 11, 2023 · 0 comments
Open
2 tasks

Feature: Check if Customer is Already Logged In #56

larkinds opened this issue Sep 11, 2023 · 0 comments

Comments

@larkinds
Copy link
Owner

Overview
When a customer navigates to our webpage, they shouldn't have to login again if they've recently logged in.

This issue depends on #55, which depends on other issues.

Action

  • Check if localStorage has a currently logged in user
    • If localStorage has a currently logged in user, set context to that user

Resources
MDN's localStorage Documentation
React's useContext Documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants