system-clients 1.8.44-cr → 1.8.45-cr
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
}
|
|
196
196
|
// 弱口令验证
|
|
197
197
|
// 跳转过来的不进行验证
|
|
198
|
-
if (self.config.weakPassword && !(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z\d!@#$%^&*()_+-=<>?]{
|
|
198
|
+
if (self.config.weakPassword && !(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z\d!@#$%^&*()_+-=<>?]{12,16}$/.test(self.model.password))) {
|
|
199
199
|
self.$showMessage('登录系统: 此账户的密码过于简单,请修改密码后重新登陆!!!', ['confirm']).then((res) => {
|
|
200
200
|
self.modifyPwShow = true
|
|
201
201
|
})
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<span class="glyphicon glyphicon-ok form-control-feedback" v-if="!$v.newpassword.required && !($v.newpassword.strongpassword && !($v.newpassword.required))"></span>
|
|
27
27
|
<span v-if="$v.newpassword.required">不能为空</span>
|
|
28
28
|
<span v-if="$v.newpassword.strongpassword && !($v.newpassword.required)">密码必须同时包含英文大小写、阿拉伯数字、字符(字符不能使用 空格、%、/)</span>
|
|
29
|
-
<span v-if="!(deliver.newpassword.length >=
|
|
29
|
+
<span v-if="!(deliver.newpassword.length >= 12 && deliver.newpassword.length <= 16)">密码最小12位字符,最大16位字符</span>
|
|
30
30
|
</div>
|
|
31
31
|
</div>
|
|
32
32
|
<div class="has-feedback form-group"
|