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

login functionality update at UI #20

Open
1 task done
yogesh-kansal opened this issue Dec 28, 2021 · 1 comment
Open
1 task done

login functionality update at UI #20

yogesh-kansal opened this issue Dec 28, 2021 · 1 comment
Assignees
Labels
syn-easy defficulty level of issue Up for Grabs

Comments

@yogesh-kansal
Copy link
Collaborator

Description

  • At sucsessful login of user, save token(sent by server) and userId in local storage with names "token", "userId" respectively.
  • At first time loading of website check into local storage for token, if token is there make user as logged in and save token and userId into state of authContext, if not redirect user to login page.

Checklist

  • Want to modify files (js/css/other)
@yogesh-kansal yogesh-kansal added syn-easy defficulty level of issue Up for Grabs labels Dec 28, 2021
@Shashwat545
Copy link
Contributor

I would like to work on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
syn-easy defficulty level of issue Up for Grabs
Projects
None yet
Development

No branches or pull requests

2 participants