/forgot-password

Simple logic for one-time password reset links

Primary LanguageJavaScript

Password Reset one-time link login.

This is a simple repo which contains the logic for sending one-time password reset links valid for 15 minutes (though time can be changed in code).

This repo does NOT use any email sending API or any Database, the user is hard-coded and the link is only logged in console. That is for you to implement. This ONLY contains the logic.


Try the app

Step 1: Clone the repo

git clone https://github.com/trulymittal/forgot-password.git

Step 2: cd into the cloned repo and run:

npm install

Step 3: Start the demo by

npm run dev

Author

Contribute

You can fork this repo and send me a PR.

License

This project is licensed under the MIT License.