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
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ class Migration(migrations.Migration):
|
||||||
operations = [
|
operations = [
|
||||||
migrations.AddField(
|
migrations.AddField(
|
||||||
model_name="user",
|
model_name="user",
|
||||||
name="htop_count",
|
name="hotp_count",
|
||||||
field=models.IntegerField(blank=True, default=0, null=True),
|
field=models.IntegerField(blank=True, default=0, null=True),
|
||||||
),
|
),
|
||||||
migrations.AddField(
|
migrations.AddField(
|
|
@ -178,7 +178,7 @@ class User(OrderedCollectionPageMixin, AbstractUser):
|
||||||
# two factor authentication
|
# two factor authentication
|
||||||
two_factor_auth = models.BooleanField(default=None, blank=True, null=True)
|
two_factor_auth = models.BooleanField(default=None, blank=True, null=True)
|
||||||
otp_secret = models.CharField(max_length=32, 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
|
@property
|
||||||
def active_follower_requests(self):
|
def active_follower_requests(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue