alokVerma749 / foody-monk

This is food ordering web app build using MERN stack
https://foody-monk.vercel.app
MIT License
12 stars 8 forks source link

auto login if token is present #10

Closed alokVerma749 closed 1 year ago

alokVerma749 commented 1 year ago

If token is present in localstorage, then auto login the user

alokVerma749 commented 1 year ago

if token for a email is already present in localstorage, then login with the same email gives user not exists error

alokVerma749 commented 1 year ago

commitid: 2bd8a56 solves this issue