This pull request implements the user authentication logic using JWT, allowing registered users to log in with their credentials. Additionally, validation was added to ensure the credentials are correct and to provide appropriate error messages. Also, corresponding tests were created to ensure the login functionality works correctly for both valid credentials and error cases.
This pull request implements the user authentication logic using JWT, allowing registered users to log in with their credentials. Additionally, validation was added to ensure the credentials are correct and to provide appropriate error messages. Also, corresponding tests were created to ensure the login functionality works correctly for both valid credentials and error cases.