Fix: v2.13.0 RC1: increase field max lengths to accommodate larger tokens (#7916)

This commit is contained in:
shamoon
2024-10-14 07:56:47 -07:00
committed by GitHub
parent baf6484454
commit 4e849b545a
2 changed files with 8 additions and 3 deletions

View File

@@ -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=_(