- commit
- 384160f21ee9b33d7adb13924116d4afe0b68db8
- parent
- a989df12dc25fee625e2ba79819f60463afe2fb7
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2023-08-30 12:45
README: mention settings.py
Diffstat
| M | README.md | 3 | ++- |
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
@@ -25,7 +25,8 @@ pip install django-mfa3 25 25 remove any other login routes, otherwise the multi factor authentication 26 26 can be circumvented. The admin login will automatically be patched to 27 27 redirect to the regular login.)28 -1 3. Set `MFA_DOMAIN = 'example.com'` and `MFA_SITE_TITLE = 'My site'`-1 28 3. Set `MFA_DOMAIN = 'example.com'` and `MFA_SITE_TITLE = 'My site'`. See -1 29 `settings.py` for a full list of settings. 29 30 4. Register URLs: `path('mfa/', include('mfa.urls', namespace='mfa')` 30 31 5. The included templates are just examples, so you should [replace them](https://docs.djangoproject.com/en/stable/howto/overriding-templates/) with your own 31 32 6. FIDO2 requires client side code. You can either implement it yourself or use the included fido2.js (in which case you will have to provide the third party library [cbor-js](https://www.npmjs.com/package/cbor-js)).