pyotp.random_base32() has increased their default output length

This commit is contained in:
Trent Palmer 2021-08-30 21:54:40 -07:00
parent cd30f4fe07
commit ffca5b3c27
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class EmailWhiteList(UUIDAsIDModel):
class Account(UUIDAsIDModel):
user = models.OneToOneField(User, on_delete=models.CASCADE, unique=True)
totp_key = models.CharField(max_length=16, null=True)
totp_key = models.CharField(max_length=32, null=True)
use_totp = models.BooleanField(default=False)
twitter_handle = models.CharField(max_length=64, default='@Twitter')