arpittyagi102 / LinkUp

Link Up is a real time chatting application project, it utilizes, MERN, socket.io
https://getlinkup.vercel.app
MIT License
22 stars 30 forks source link

Created a forgot password page #2

Closed Pulkitxm closed 1 year ago

Pulkitxm commented 1 year ago

image

The ForgotPass component represents a Forgot Password page. It consists of a form where users can enter their email address to initiate a password reset request. When the user clicks the "Forgot" button, it triggers the handleForgotPassword function.

The handleForgotPassword function currently simulates sending a password reset email by displaying an alert after a 2-second delay. You can replace this code with your actual password reset logic, such as making an API call.

If the user hasn't entered an email address and clicks the "Forgot" button, a validation message is displayed.

The component also includes links for "Back to Login" and "Don't have an account? Sign up."

The ForgotPass.css file contains styles for the component, including the layout, form, input fields, labels, buttons, and image.

vercel[bot] commented 1 year ago

Someone is attempting to deploy a commit to a Personal Account owned by @arpittyagirocks on Vercel.

@arpittyagirocks first needs to authorize it.