rahulkumar-das / Authentication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Authentication

This repository can be used as a template code in any website building project that requires a login, register and password reset using email modules. To store the passwords in a secured format the password is hashed using SHA-512 and is then stored in the database. As the passwords are stored in a hashed format, even if anyone gets access to the database, the passwords are in encrypted format and hence secured. To implemet the reset forward functionality, the mail-gun api email is used to send the reset URL which has a unique token associated with the user's account on the registered email Id. On successful password reset a confirmation email is also sent to the user's registered email id. Developed using Node.js and MongoDB

Preview of reset url email with instructions

Capture1

Preview of confirmation email

Capture2

About


Languages

Language:JavaScript 72.9%Language:HTML 26.6%Language:CSS 0.6%