2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 21:15:41 +00:00

reintroduce otp codes

This commit is contained in:
Matthias Mair
2024-03-21 23:49:43 +01:00
parent a5da45c66b
commit 6037a70285

View File

@ -234,6 +234,9 @@ INSTALLED_APPS = [
'allauth.account', # Extend user with accounts
'allauth.socialaccount', # Use 'social' providers
'allauth.mfa', # MFA for for allauth
'django_otp', # OTP is needed for MFA - base package
'django_otp.plugins.otp_totp', # Time based OTP
'django_otp.plugins.otp_static', # Backup codes
'dj_rest_auth', # Authentication APIs - dj-rest-auth
'dj_rest_auth.registration', # Registration APIs - dj-rest-auth'
'drf_spectacular', # API documentation