Fix: password check in page of install (#3978)
This commit is contained in:
parent
f26ad16af7
commit
2fd702a319
1 changed files with 3 additions and 1 deletions
|
|
@ -48,8 +48,10 @@ const InstallForm = () => {
|
|||
showErrorMessage(t('login.error.passwordEmpty'))
|
||||
return false
|
||||
}
|
||||
if (!validPassword.test(password))
|
||||
if (!validPassword.test(password)) {
|
||||
showErrorMessage(t('login.error.passwordInvalid'))
|
||||
return false
|
||||
}
|
||||
|
||||
return true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue