Skip to content

Commit 03fb494

Browse files
authored
Fix discrepancy between db and field length (MicroPyramid#73)
1 parent 15d3f70 commit 03fb494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_mfa/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def is_mfa_enabled(user):
2222
"""
2323
return hasattr(user, 'userotp')
2424

25-
MFA_RECOVERY_CODE_LENGTH = 10
25+
MFA_RECOVERY_CODE_LENGTH = 16
2626
class UserRecoveryCodes(models.Model):
2727
user = models.ForeignKey(UserOTP,
2828
on_delete=models.CASCADE)

0 commit comments

Comments
 (0)