feat: fix validate text error caused by password length check (#3964)

This commit is contained in:
DacongDA
2025-07-16 10:10:13 +08:00
committed by GitHub
parent 2a53241128
commit 3ac5aad648

View File

@@ -82,7 +82,7 @@ export function renderPasswordPopover(options, password) {
}
export function checkPasswordComplexity(password, options) {
if (password.length === 0) {
if (!password?.length) {
return i18next.t("login:Please input your password!");
}