passport-local
Username and password authentication strategy for Passport and Node.js
passport-local is a Passport strategy module for Node.js that enables user authentication using traditional username and password credentials, making it ideal for web applications that require simple, form-based login systems. It plugs directly into the Passport middleware ecosystem and lets developers define precisely how users are looked up and verified against stored credentials, which can be adapted to any database or user store. Instead of managing authentication logic manually in every route, passport-local centralizes the process through a strategy interface where you provide a function to find and validate the user. ...