Skip to content

Commit

Permalink
Fix discrepancy between db and field length (MicroPyramid#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maffooch authored Jan 9, 2023
1 parent 15d3f70 commit 03fb494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_mfa/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 03fb494

Please sign in to comment.