Hack-The-Tunnels-8 / hack-the-tunnels-Your-Local-Vegetables

0 stars 0 forks source link

Add Login Page Form #8

Closed hackthetunnelsbot[bot] closed 12 months ago

hackthetunnelsbot[bot] commented 12 months ago

Description:

Checkout: client/src/pages/Login/Login.tsx

The login page you see right now doesn't have the spaces where you can type in your email and password.

Create an input box for email and and input box for password.

Create a login button that when clicked fires the attemptLogin function.

When this button is clicked, it should attempt to login using the email and password from the input boxes.

If the user enters invalid credentials, you should set "message" using the setMessage function.

Acceptance Criteria:

There are boxes to input email and password. When you click the login button with valid credentials, you're able to login. With invalid credentials, you see an error message.

Spitfier720 commented 12 months ago

!review

varGeneric commented 12 months ago
image

@Spitfier720 Seems to be an issue with the endpoint that the login page is using.