codeuino / social-platform-donut-frontend

This is an Open Source social Platform where people can interact with Open Source expertise around the globe and work on different projects
207 stars 220 forks source link

User login is not working[BUG] #663

Open kaustubhai opened 3 years ago

kaustubhai commented 3 years ago

Describe the bug Wrong value is being stored in localStorage instead of the generated token

Steps to Reproduce Steps to reproduce the behaviour:

  1. Go to the homepage
  2. Try to login or register
  3. After successful registration or login, no redirect will happen
  4. Check localStorage to see undefined stored under jwtToken key

Expected behaviour A jwt token should be stored in localStorage under jwtToken key

kaustubhai commented 3 years ago

fixed in #664