Keep the first privileged sign-in password-only and open factor setup immediately afterward. Grant administrator and reseller access once the second factor is confirmed. Require the registered factor after the password at later sign-ins.
Use django-otp for authenticator apps and short-lived, one-time email codes. Offer email during setup when SMTP and the account address are available. Use recovery codes or operator-assisted enrollment for a lost factor.
Limit password, factor, and reset requests in the panel database. Use the network peer address for direct TCP access and Apache's verified client address on the restricted Gunicorn socket.
Provide eligible customers with 30-minute, single-use password reset links. Queue requests through RabbitMQ and show the same result for known and unknown addresses. Route Django admin sign-in through the panel.
Passed 461 Django tests, including initial enrollment, subsequent TOTP verification, code replay protection, tenant boundaries, and password reset expiry and reuse.
Upgraded a v0.7 database on Ubuntu 26.04 with MariaDB and exercised the installed wheel through Apache and Gunicorn. Checked authenticator enrollment, email factors via a local SMTP relay, recovery codes, and reset delivery through RabbitMQ.
Verified rate limiting through direct TLS and a trusted reverse proxy. Confirmed that client-supplied forwarding headers cannot replace the address resolved by the configured front end.
Verified the wheel and source distribution against the branch commit. The deployment guide covers enrollment, recovery, SMTP, and trusted client identification.
## Summary
- Keep the first privileged sign-in password-only and open factor setup immediately afterward. Grant administrator and reseller access once the second factor is confirmed. Require the registered factor after the password at later sign-ins.
- Use django-otp for authenticator apps and short-lived, one-time email codes. Offer email during setup when SMTP and the account address are available. Use recovery codes or operator-assisted enrollment for a lost factor.
- Limit password, factor, and reset requests in the panel database. Use the network peer address for direct TCP access and Apache's verified client address on the restricted Gunicorn socket.
- Provide eligible customers with 30-minute, single-use password reset links. Queue requests through RabbitMQ and show the same result for known and unknown addresses. Route Django admin sign-in through the panel.
Closes #88
## Verification
- Passed 461 Django tests, including initial enrollment, subsequent TOTP verification, code replay protection, tenant boundaries, and password reset expiry and reuse.
- Upgraded a v0.7 database on Ubuntu 26.04 with MariaDB and exercised the installed wheel through Apache and Gunicorn. Checked authenticator enrollment, email factors via a local SMTP relay, recovery codes, and reset delivery through RabbitMQ.
- Verified rate limiting through direct TLS and a trusted reverse proxy. Confirmed that client-supplied forwarding headers cannot replace the address resolved by the configured front end.
- Verified the wheel and source distribution against the branch commit. The deployment guide covers enrollment, recovery, SMTP, and trusted client identification.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Closes #88
Verification