mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-10 00:18:57 +00:00
Fix: v2.13.0 RC1: increase field max lengths to accommodate larger tokens (#7916)
This commit is contained in:
@@ -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",
|
||||
),
|
||||
|
Reference in New Issue
Block a user