CodeAuth
CodeAuth is a simple Node.js package that makes it easy to implement a confirmation code system to a project.
It's easy to get started, all CodeAuth needs is a MySQL database.
Create a simple project
var auth = ;auth;
Generate a new code
{var userCode = "Test User" 6 ; // Generate new 6 digit long code for use only by user "Test User"userCode; // Stores code hash in table; // Send 6 digit code back to user to enter, could be a text message or email}
Check if user entered a correct code
auth;