mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 19:41:11 +00:00
fix typo in new user fields
oopsie
This commit is contained in:
parent
aca5c19f70
commit
514762c233
2 changed files with 3 additions and 3 deletions
|
@ -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(
|
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue