Accounts & security
Registration, login and account recovery, written without a user account library.
- Passwords hashed with Argon2, and accounts verified through a one-time link sent by email before the first login
- The session is a JWT in an httpOnly, SameSite=Strict cookie that lasts one hour
- Password reset through a 10-minute signed link; email changes need the password and are confirmed on the new address