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
+1 -1
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
},
}