fix typo in new user fields

oopsie
This commit is contained in:
Hugh Rundle 2022-09-11 16:24:42 +10:00
parent aca5c19f70
commit 514762c233
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
# Generated by Django 3.2.15 on 2022-09-11 00:08
# Generated by Django 3.2.15 on 2022-09-11 05:25
from django.db import migrations, models
@ -12,7 +12,7 @@ class Migration(migrations.Migration):
operations = [
migrations.AddField(
model_name="user",
name="htop_count",
name="hotp_count",
field=models.IntegerField(blank=True, default=0, null=True),
),
migrations.AddField(

View file

@ -178,7 +178,7 @@ class User(OrderedCollectionPageMixin, AbstractUser):
# two factor authentication
two_factor_auth = models.BooleanField(default=None, blank=True, null=True)
otp_secret = models.CharField(max_length=32, default=None, blank=True, null=True)
htop_count = models.IntegerField(default=0, blank=True, null=True)
hotp_count = models.IntegerField(default=0, blank=True, null=True)
@property
def active_follower_requests(self):