Increase mailing profile password field length

Increse from 48 to 128 characters. GitLab issue #657.
Thanks to sigsec (@sigsec) for the report.

Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2019-08-22 03:53:38 -04:00
parent 3a0226ac22
commit 7a8dad5a3c
3 changed files with 8 additions and 1 deletions

View File

@@ -14,6 +14,9 @@
* Fix document template column field. GitLab issue #655.
Thanks to Christian Wiegand (@christianwgd) for the
report.
* Increase mailing profile password field max length
from 48 to 128 characters. GitLab issue #657.
Thanks to sigsec (@sigsec) for the report.
3.2.6 (2019-07-10)
==================

View File

@@ -21,6 +21,9 @@ Changes
- Fix document template column field. GitLab issue #655.
Thanks to Christian Wiegand (@christianwgd) for the
report.
- Increase mailing profile password field max length
from 48 to 128 characters. GitLab issue #657.
Thanks to sigsec (@sigsec) for the report.
Removals
--------
@@ -115,6 +118,7 @@ Bugs fixed or issues closed
- :gitlab-issue:`654` Internal Server Error, Document Checkout
- :gitlab-issue:`655` Index setup tree view shows two times the "enabled" field instead of "Link documents"
- :gitlab-issue:`657` Mailer password length restriction is too short
- :forum-topic:`1039` Re: /api/documents/{id}/cabinets returns 500
.. _PyPI: https://pypi.python.org/pypi/mayan-edms/

View File

@@ -78,7 +78,7 @@ class DjangoSMTP(MailerBackend):
'the SMTP server. If either of these settings is empty, '
'authentication won\'t be attempted.'
), 'kwargs': {
'max_length': 48
'max_length': 128
}, 'required': False
},
}