codeuino / codeuino/social-platform-donut-frontend

User login is not working[BUG]

Open
#663 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
208
Forks
220
PR merge metrics
No merged PRs in 30d

Description

**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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.