We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 604941d commit 4847d52Copy full SHA for 4847d52
src/views/user/index.ts
@@ -61,7 +61,7 @@ export async function modifyPasswordDialogs(
61
) {
62
function validatePasswordStrength(pwd: string): boolean {
63
let strength = 0
64
- if (/^[ -\x7e]{8,14}/.test(pwd)) {
+ if (!/^[ -\x7e]{8,14}/.test(pwd)) {
65
return false
66
}
67
if (/^(?=.*[a-z])/.test(pwd)) {
0 commit comments