mirror of
https://github.com/inventree/InvenTree.git
synced 2025-11-09 01:25:41 +00:00
MFA middleware tweaks (#10768)
* MFA middleware tweaks - Remove Check2FAMiddleware if MFA not enabled - Refactor into middleware.py * Update settings.py - Disable MFA_SUPPORTED_TYPES if MFA_ENABLED is False * Update docs
This commit is contained in:
@@ -425,7 +425,7 @@ InvenTree provides allowance for additional sign-in options. The following optio
|
||||
| Environment Variable | Configuration File | Description | Default |
|
||||
| --- | --- | --- | --- |
|
||||
| INVENTREE_MFA_ENABLED | mfa_enabled | Enable or disable multi-factor authentication support for the InvenTree server | True |
|
||||
| INVENTREE_MFA_SUPPORTED_TYPES | mfa_supported_types | List of supported multi-factor authentication types | recovery_codes,totp |
|
||||
| INVENTREE_MFA_SUPPORTED_TYPES | mfa_supported_types | List of supported multi-factor authentication types | recovery_codes,totp,webauthn |
|
||||
|
||||
### Single Sign On
|
||||
|
||||
|
||||
Reference in New Issue
Block a user