mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-27 15:54:14 +00:00
perf: random password exclude some char
This commit is contained in:
@@ -21,7 +21,7 @@ class PasswordStrategy(models.TextChoices):
|
||||
random_all = 'random_all', _('All assets use different random password')
|
||||
|
||||
|
||||
string_punctuation = '!#$%&()*+,-.:;<=>?@[]^_~'
|
||||
string_punctuation = '!#$%&()*+,-.:;<=?@[]_~'
|
||||
DEFAULT_PASSWORD_LENGTH = 30
|
||||
DEFAULT_PASSWORD_RULES = {
|
||||
'length': DEFAULT_PASSWORD_LENGTH,
|
||||
|
Reference in New Issue
Block a user