🐛Allow longer password hashes
This commit is contained in:
1 parent
1104c64c2a
commit
3b9a43fc7a
2 files changed
+19
-1
No files matched your search
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 2.2.16 on 2020-09-09 21:42
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('dpdapi', '0002_auto_20150118_1638'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='user',
|
||||
name='password',
|
||||
field=models.CharField(max_length=512),
|
||||
),
|
||||
]
|
||||
+1
-1
@@ -43,7 +43,7 @@ class Domain(BaseModel):
|
||||
|
||||
class User(BaseModel):
|
||||
email = models.EmailField(max_length=254, unique=True)
|
||||
password = models.CharField(max_length=109)
|
||||
password = models.CharField(max_length=512)
|
||||
domain = models.ForeignKey('dpdapi.Domain', models.CASCADE)
|
||||
|
||||
def __str__(self):
|
||||
|
||||
Reference in new issue
Block a user