master
Gitea 2 weeks ago
parent d67c2d8071
commit ed59ba5992
  1. 2
      jeecgboot-vue3/src/views/system/loginmini/MiniRegister4faren.vue

@ -246,7 +246,7 @@
return; return;
} }
// 8 // 8
const passwordRegex = /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@#$%^&+=!])(?=.{8,})$/; const passwordRegex = /^(?=.*[a-zA-Z])(?=.*[0-9])(?=.*[._~!@#$^&*])[A-Za-z0-9._~!@#$^&*]{8,20}$/;
if (!passwordRegex.test(formData.password)) { if (!passwordRegex.test(formData.password)) {
createMessage.warn(t('sys.login.passwordPlaceholderNotReg')); createMessage.warn(t('sys.login.passwordPlaceholderNotReg'));
return; return;

Loading…
Cancel
Save