govind-kumarr / simple_rag_dashboard

Chat with your docs. The deployed link is not updated. Please setup project locally to find issues.
23 stars 32 forks source link

[Bug]: Incorrect status code received when an incorrect password is entered during login #89

Open gk12 opened 3 months ago

gk12 commented 3 months ago

Is there an existing issue for this?

Describe the bug

The issue involves receiving an incorrect status code (200) when users enter an incorrect password during the login process. Instead of receiving the expected status code(401) indicating an authentication failure due to an incorrect password. This inconsistency in status codes can lead to confusion for users, as it may not accurately convey the reason for the login failure.

Expected behavior

Instead of returning status code 200 OK,it will return status code 401 Unauthorized.

Add ScreenShots

No response

On which device are you experiencing this bug?

No response

Record

github-actions[bot] commented 3 months ago

Congratulations, @gk12! 🎉 Thank you for creating your issue. Your contribution is greatly appreciated and we look forward to working with you to resolve the issue. Keep up the great work!

We will promptly review your changes and offer feedback. Keep up the excellent work! Kindly remember to check our contributing guidelines