iiitl / MERN_AUTH

MERN Task with auth application
0 stars 8 forks source link

#3: Fix user session #12

Closed piyushkumar079 closed 6 months ago

piyushkumar079 commented 6 months ago

3

A single line added in useLogin.js file fixed the issue localStorage.setItem("user", JSON.stringify(json)); storing the data in localStorage below is the video

https://github.com/iiitl/MERN_AUTH/assets/143178077/67bf702b-8838-4524-8c4f-25f21e002cc7

Yash7426 commented 6 months ago

@piyushkumar079, when addressing each issue, create a new branch from main. Ensure that your pull request only contains commits relevant to the specific issue being solved, excluding any commits from previous issues.