mirror of
https://github.com/TrentSPalmer/trentpalmerdotorg.git
synced 2024-11-21 17:11:30 -08:00
pyotp.random_base32() has increased their default output length
This commit is contained in:
parent
cd30f4fe07
commit
ffca5b3c27
@ -18,7 +18,7 @@ class EmailWhiteList(UUIDAsIDModel):
|
|||||||
|
|
||||||
class Account(UUIDAsIDModel):
|
class Account(UUIDAsIDModel):
|
||||||
user = models.OneToOneField(User, on_delete=models.CASCADE, unique=True)
|
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)
|
use_totp = models.BooleanField(default=False)
|
||||||
twitter_handle = models.CharField(max_length=64, default='@Twitter')
|
twitter_handle = models.CharField(max_length=64, default='@Twitter')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user