- commit
- 30d6f1e9d9443acb346a1c1f99b237525bae3455
- parent
- 5c8f3f304173d1cd3bc7b7fb5e45847b77d7932b
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2023-04-13 06:16
README: better explain enforcing MFA
Diffstat
| M | README.md | 7 | ++++--- |
1 files changed, 4 insertions, 3 deletions
diff --git a/README.md b/README.md
@@ -34,9 +34,10 @@ pip install django-mfa3 34 34 ## Enforce MFA 35 35 36 36 Optionally, you can add `'mfa.middleware.MFAEnforceMiddleware'` to `MIDDLEWARE`37 -1 (after `AuthenticationMiddleware`!). It will redirect all authenticated38 -1 requests to `'mfa:list'` as long as the user has no MFAKeys. You can use39 -1 `mfa.decorators.public` to add exceptions.-1 37 (after `AuthenticationMiddleware`!). It will force users to setup two factor -1 38 authentication by redirecting all authenticated requests to `'mfa:list'` as -1 39 long as the user has no MFAKeys. You can use `mfa.decorators.public` to add -1 40 exceptions. 40 41 41 42 ## Send email on failed login attempt 42 43