diff --git a/django_mfa/models.py b/django_mfa/models.py index c71f85f..67f86f4 100644 --- a/django_mfa/models.py +++ b/django_mfa/models.py @@ -22,7 +22,7 @@ def is_mfa_enabled(user): """ return hasattr(user, 'userotp') -MFA_RECOVERY_CODE_LENGTH = 10 +MFA_RECOVERY_CODE_LENGTH = 16 class UserRecoveryCodes(models.Model): user = models.ForeignKey(UserOTP, on_delete=models.CASCADE)