Below, you are provided with an initial code. Implement the following tasks in it.
Task 1
We have created a login logic for you to get the username and password from the user. Your job is to add the logic to check if the password entered by the user is correct or not.
- Add a
check_Password
method in thesrc/users/controller.ts
file. - Make a call to the
check_Password
method in thelogin
method, and pass the respective parameters.
Get hands-on with 1400+ tech skills courses.