You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's an issue in signin. The backend expects username and password in header but from frontend it's passed in body. This leaves username and password undefined.
The text was updated successfully, but these errors were encountered:
anuragshuklajec
added a commit
to anuragshuklajec/Week-5-with-axios-and-backend
that referenced
this issue
Sep 18, 2023
There's an issue in signin. The backend expects username and password in header but from frontend it's passed in body. This leaves username and password undefined.
![image](https://private-user-images.githubusercontent.com/76862299/268576862-56c02a24-16a1-4dc6-ba36-6e3946897df3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNjk0ODksIm5iZiI6MTczOTI2OTE4OSwicGF0aCI6Ii83Njg2MjI5OS8yNjg1NzY4NjItNTZjMDJhMjQtMTZhMS00ZGM2LWJhMzYtNmUzOTQ2ODk3ZGYzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDEwMTk0OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE4ZGRkNjJmZTFkNzE2M2FkODZjMGUwNTY4MjM4Y2VhZTlhYTJhYTY1NzM4YzAyY2YwZGYzNjRhNjMyM2M2YTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.CGOp4D-OYlG2MmrS5hcEs2UbvoRWB70aWEcA5wMD0bY)
The text was updated successfully, but these errors were encountered: