diff --git a/src/components/Form/FormFields/UserPassword.vue b/src/components/Form/FormFields/UserPassword.vue index 2d3daecaf..441dfa5dd 100644 --- a/src/components/Form/FormFields/UserPassword.vue +++ b/src/components/Form/FormFields/UserPassword.vue @@ -42,7 +42,7 @@ export default { patterns.push([/\d/, i18n.t('NUMBER_REQUIRED')]) } if (passwordRule['SECURITY_PASSWORD_SPECIAL_CHAR']) { - const pattern = new RegExp("[`~!@#$^&*()=|{}':;',\\[\\].<>/?~!@#¥……&*()——|{}【】‘;:”“'。,、?]") + const pattern = new RegExp("[`~!@#$^&*()=|{}':;',\\[\\].<>/?~!@#¥……&*()——|{}【】‘;:”“'。,、?_+-]") patterns.push([pattern, i18n.t('SPECIAL_CHAR_REQUIRED')]) } for (const [pattern, msg] of patterns) {