Passwords and sessions
- Passwords are hashed with scrypt and a per-user salt; they cannot be reversed.
- Only a SHA-256 of the session token is stored, so a database leak yields no working session.
- Changing or resetting a password ends every other session.
- Invite and recovery links are single-use and expire.