mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-19 05:25:42 +00:00
reintroduce otp codes
This commit is contained in:
@ -234,6 +234,9 @@ INSTALLED_APPS = [
|
|||||||
'allauth.account', # Extend user with accounts
|
'allauth.account', # Extend user with accounts
|
||||||
'allauth.socialaccount', # Use 'social' providers
|
'allauth.socialaccount', # Use 'social' providers
|
||||||
'allauth.mfa', # MFA for for allauth
|
'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', # Authentication APIs - dj-rest-auth
|
||||||
'dj_rest_auth.registration', # Registration APIs - dj-rest-auth'
|
'dj_rest_auth.registration', # Registration APIs - dj-rest-auth'
|
||||||
'drf_spectacular', # API documentation
|
'drf_spectacular', # API documentation
|
||||||
|
Reference in New Issue
Block a user