system-clients 3.2.1-6 → 3.2.1-7
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
@@ -176,7 +176,7 @@
|
|
176
176
|
}
|
177
177
|
// 弱口令验证
|
178
178
|
//跳转过来的不进行验证
|
179
|
-
if ((!
|
179
|
+
if ((!self.otherLogin) && self.config.weakPassword && !(/^(?:(?=.*[a-zA-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])).*$/.test(self.model.password))) {
|
180
180
|
self.$showMessage('登录系统: 此账户的密码过于简单,请修改密码后重新登陆!!!', ['confirm']).then((res) => {
|
181
181
|
self.modifyPwShow = true
|
182
182
|
})
|