mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-01-30 00:43:06 +01:00
To support token auth better, increase the password field (more of a double duty) to be 2048 chars
This commit is contained in:
parent
721b52a45b
commit
829a693128
2 changed files with 18 additions and 1 deletions
|
|
@ -0,0 +1,17 @@
|
|||
# Generated by Django 4.1.7 on 2023-04-20 15:03
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("paperless_mail", "0020_mailaccount_is_token"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="mailaccount",
|
||||
name="password",
|
||||
field=models.CharField(max_length=2048, verbose_name="password"),
|
||||
),
|
||||
]
|
||||
|
|
@ -36,7 +36,7 @@ class MailAccount(document_models.ModelWithOwner):
|
|||
|
||||
username = models.CharField(_("username"), max_length=256)
|
||||
|
||||
password = models.CharField(_("password"), max_length=256)
|
||||
password = models.CharField(_("password"), max_length=2048)
|
||||
|
||||
is_token = models.BooleanField(_("Is token authentication"), default=False)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue