mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-19 10:19:27 -05: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
@ -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)
|
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)
|
is_token = models.BooleanField(_("Is token authentication"), default=False)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user