View Code? Open in Web Editor
NEW
This project forked from ironptsolutions/lab-auth
JavaScript 58.93%
CSS 0.64%
Handlebars 40.43%
lab-auth's Introduction
- User validation & registration (user controller)
- Password hashing (user model)
- Express session configuration (session.config & app.js)
- Login user checking password and storing the user id at the session (routes, user controller)
- Load session user if necessary and store it at res.locals and req (app.js)
- Render login|register or user email at navbar (narbar.hbs)
- Logout (routes, user controller)
- Restrict /users path only for auth users (routes & secure middleware)
- passport (to be continued...)
lab-auth's People
Contributors