social-platform-donut-frontend
social-platform-donut-frontend copied to clipboard
User login is not working[BUG]
Describe the bug Wrong value is being stored in localStorage instead of the generated token
Steps to Reproduce Steps to reproduce the behaviour:
- Go to the homepage
- Try to login or register
- After successful registration or login, no redirect will happen
- Check localStorage to see undefined stored under jwtToken key
Expected behaviour A jwt token should be stored in localStorage under jwtToken key
fixed in #664