Describe your bug
When login without any value in the input fields “username” and “password”, an API request is sent to check the fields are empty or not. It will utilize some resources.
Steps to reproduce
- Go to the login page of the code chef website
- Click Login button
Expected result
Instead of sending an API request to check whether the input fields are empty or not, It should be checked in the JavaScript file.
Actual Result
Reported error by sending an API request
Screenshot
Additional info
Browser - Firefox
Browser Version - 112.0
Operation System - Windows