perf: The maximum length of the randomly generated password is changed to 36

This commit is contained in:
feng
2024-09-25 10:52:16 +08:00
parent d09eb3c4fa
commit 920199c6df
2 changed files with 2 additions and 2 deletions

View File

@@ -84,7 +84,7 @@ class ChangeSecretAutomationSerializer(AuthValidateMixin, BaseAutomationSerializ
msg = _("* Please enter the correct password length")
raise serializers.ValidationError(msg)
if length < 6 or length > 30:
if length < 6 or length > 36:
msg = _('* Password length range 6-30 bits')
raise serializers.ValidationError(msg)