Login and sessions

Login with server-side sessions: the cookie only holds a random session id, and passwords are hashed with scrypt from node:crypto.

A guard rejects forms sent from other sites, limits the attempts per IP address and looks up the session for all routes below it. Users and sessions live in memory, so they are gone after a restart.

Sign in

Use the demo account demo / jsx-with-ease.