mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 08:15:27 +01:00
Merge branch 'dev' into beta
This commit is contained in:
commit
9f68e0f76a
2 changed files with 8 additions and 3 deletions
|
|
@ -10,6 +10,11 @@ class Migration(migrations.Migration):
|
|||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="mailaccount",
|
||||
name="password",
|
||||
field=models.CharField(max_length=3072, verbose_name="password"),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="mailaccount",
|
||||
name="expiration",
|
||||
|
|
@ -35,7 +40,7 @@ class Migration(migrations.Migration):
|
|||
field=models.CharField(
|
||||
blank=True,
|
||||
help_text="The refresh token to use for token authentication e.g. with oauth2.",
|
||||
max_length=2048,
|
||||
max_length=3072,
|
||||
null=True,
|
||||
verbose_name="refresh token",
|
||||
),
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ class MailAccount(document_models.ModelWithOwner):
|
|||
|
||||
username = models.CharField(_("username"), max_length=256)
|
||||
|
||||
password = models.CharField(_("password"), max_length=2048)
|
||||
password = models.CharField(_("password"), max_length=3072)
|
||||
|
||||
is_token = models.BooleanField(_("Is token authentication"), default=False)
|
||||
|
||||
|
|
@ -64,7 +64,7 @@ class MailAccount(document_models.ModelWithOwner):
|
|||
|
||||
refresh_token = models.CharField(
|
||||
_("refresh token"),
|
||||
max_length=2048,
|
||||
max_length=3072,
|
||||
blank=True,
|
||||
null=True,
|
||||
help_text=_(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue