Skip to content

MFA workflow fixes (#13241) - #13277

Merged
SchrodingersGat merged 1 commit into
inventree:1.7.xfrom
SchrodingersGat:mfa-fix-backport
Nov 14, 2026
Merged

SchrodingersGat merged 1 commit into
inventree:1.7.xfrom
SchrodingersGat:mfa-fix-backport

Conversation

@SchrodingersGat

Copy link
Copy Markdown
Member
  • MFA workflow fixes
  • Update docs

  • Update OTP secret expectation to use exact match

  • Attempt to fix flaky test


* MFA workflow fixes

- Fixes inventree#13238
- Verify email on successful password reset
- Invalidate password on account creation
- Fix MFA workflows
- Add regression tests

* Update docs

* Update OTP secret expectation to use exact match

Co-authored-by: Copilot Autofix powered by AI <[email protected]>

* Attempt to fix flaky test

---------

Co-authored-by: Copilot Autofix powered by AI <[email protected]>
@SchrodingersGat SchrodingersGat added this to the 1.7.3 milestone Nov 14, 2026
@SchrodingersGat SchrodingersGat added bug Identifies a bug which needs to be addressed api Relates to the API security Relates to a security issue User Interface Related to the frontend / User Interface labels Nov 14, 2026
@coderabbitai

coderabbitai Bot commented Nov 14, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 772d7a7b-e1ee-419c-a966-2022e9e93fa2

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@codecov

codecov Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.22222% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.04%. Comparing base (6775d7f) to head (32d4366).
⚠️ Report is 1 commits behind head on 1.7.x.

Additional details and impacted files
@@            Coverage Diff             @@
##            1.7.x   #13277      +/-   ##
==========================================
+ Coverage   87.03%   87.04%   +0.01%     
==========================================
  Files        1566     1566              
  Lines      111453   111518      +65     
  Branches    12077    12075       -2     
==========================================
+ Hits        97005    97076      +71     
+ Misses      14382    14376       -6     
  Partials       66       66              
Flag Coverage Δ
backend 91.41% <97.22%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Backend Apps 92.92% <97.22%> (+<0.01%) ⬆️
Backend General 94.96% <ø> (ø)
Frontend 79.66% <ø> (+<0.01%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SchrodingersGat
SchrodingersGat merged commit 4210fc9 into inventree:1.7.x Nov 14, 2026
48 of 49 checks passed
@SchrodingersGat
SchrodingersGat deleted the mfa-fix-backport branch November 14, 2026 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Relates to the API bug Identifies a bug which needs to be addressed security Relates to a security issue User Interface Related to the frontend / User Interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant