Skip to content

Dev - #98

Merged
ashwin31 merged 5 commits into
masterfrom
dev
Oct 20, 2026
Merged

Dev#98
ashwin31 merged 5 commits into
masterfrom
dev

Conversation

@ashwin31

Copy link
Copy Markdown
Member

No description provided.

- Updated `MfaMiddleware` to challenge sessions that were opened before the user enrolled in MFA, treating them as pending after enrollment.
- Ensured that users with previously open sessions are redirected to the MFA verification page upon enrollment.
- Added tests to verify the behavior of sessions opened without a factor and their handling after enrollment.
- Bumped version to 4.6.1 to reflect these changes.
- Corrected the `fido2` dependency floor in the changelog to `fido2>=2.0.0,<3` to prevent installation issues with incompatible versions.
- Added a new CI job to test the lowest declared versions of dependencies, ensuring compatibility with the minimum requirements specified in `pyproject.toml`.
- Updated documentation in `contributing.md` to reflect the new CI testing process for lowest version checks.
- Changed the fido2 dependency version from `>=1.1.2,<3` to `>=2.0.0,<3` to ensure compatibility with the latest features and fixes.
- Added new dependencies for documentation: `furo`, `sphinx-copybutton`, and `sphinx-design` to enhance the documentation layout and usability.
- Removed `sphinx-rtd-theme` in favor of `furo` for a more modern look.
- Updated `README.md` to clarify integration recipes and troubleshooting sections.
- Introduced a changelog file to document changes in future releases.
- Enhanced `conf.py` to include new extensions and improve documentation build process.
- Implemented checks to prevent inactive users from signing in with passkeys, aligning behavior with Django's ModelBackend.
- Updated the WebAuthnBackend to terminate existing sessions for deactivated accounts on their next request.
- Improved error handling for TOTP secret verification when keys are missing, ensuring failed attempts are logged without raising server errors.
- Refined enrollment logic to reject attempts to add duplicate authenticators gracefully, returning appropriate error responses instead of server errors.
- Enhanced the user experience by ensuring that rejected passkey sign-ins provide clear feedback on the login page.
- Updated documentation to reflect these changes and clarify the behavior of MFA features regarding inactive accounts.
@ashwin31
ashwin31 merged commit 135b4eb into master Oct 20, 2026
30 checks passed
@ashwin31
ashwin31 deleted the dev branch October 20, 2026 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant