loreal-sla-calculator/server
Vadym Samoilenko e8c708f6eb Fix password special characters breaking login via WAF
Base64-encode passwords on the frontend before sending in JSON body,
and decode on the backend before passing to bcrypt. Prevents Nginx WAF
from returning an HTML error page when passwords contain <, >, &, etc.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-11 18:40:46 +00:00
..
controllers Fix password special characters breaking login via WAF 2026-03-11 18:40:46 +00:00
db Fix SSL for Docker PostgreSQL — use DB_SSL env var instead of NODE_ENV 2026-03-10 19:59:22 +00:00
middleware Add Node.js/Express backend, PostgreSQL, email/password auth, and Docker deployment 2026-03-10 19:27:44 +00:00
routes Add Node.js/Express backend, PostgreSQL, email/password auth, and Docker deployment 2026-03-10 19:27:44 +00:00
services Rebrand transactional emails with L'Oréal-styled HTML templates 2026-03-11 10:56:21 +00:00
utils Add Node.js/Express backend, PostgreSQL, email/password auth, and Docker deployment 2026-03-10 19:27:44 +00:00
.env.example Add Node.js/Express backend, PostgreSQL, email/password auth, and Docker deployment 2026-03-10 19:27:44 +00:00
index.js Add Node.js/Express backend, PostgreSQL, email/password auth, and Docker deployment 2026-03-10 19:27:44 +00:00
package-lock.json Add Node.js/Express backend, PostgreSQL, email/password auth, and Docker deployment 2026-03-10 19:27:44 +00:00
package.json Add Node.js/Express backend, PostgreSQL, email/password auth, and Docker deployment 2026-03-10 19:27:44 +00:00