mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-25 01:03:07 +00:00
* MFA workflow fixes - Fixes https://github.com/inventree/InvenTree/issues/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 * Attempt to fix flaky test --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
d51720e8e1
commit
4210fc95a8
7 files changed
+386
-13
No files matched your search
@@ -14,6 +14,12 @@ To make MFA mandatory for all users:
|
||||
|
||||
1. Enable it in the [global settings](../settings/global.md).
|
||||
|
||||
### Email Verification
|
||||
|
||||
Setting up MFA requires a verified email address. Users created by an administrator start with an unverified address; completing the password reset from their welcome email verifies it, after which they can set up MFA on first login.
|
||||
|
||||
If a user's email address is still unverified (for example, if their account has more than one address), the MFA setup page offers to resend the verification email. As a last resort, an admin can mark the address as verified in the [Database Admin interface](../settings/db_admin.md) (*Accounts* → *Email addresses*).
|
||||
|
||||
### Security Consideration
|
||||
|
||||
Password based [basic authentication](../api/index.md#basic-auth) against the API is refused for users with MFA configured, and for all users while MFA is enforced. API clients should use tokens (generated in the user interface) or OAuth2 instead.
|
||||
|
||||
Reference in new issue
Block a user