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

check if the user is loggedin, and hide signout button if not #52

Closed
wants to merge 1 commit into from
Closed

Conversation

coderavels
Copy link

@coderavels coderavels commented Oct 15, 2019

Problem: The signout button is visible even though user is logged out.
Solution: check if the user is logged in based on a key in the localstorage. If the key does not exist, hide the signout button.

Fixes: #48

@coderavels coderavels closed this Nov 9, 2022
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.

signout button in header
1 participant