mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
fix: password
This commit is contained in:
parent
b1c32eab71
commit
e81918ee48
@ -47,6 +47,7 @@ const PasswordChecker = ({ password, callback }: IPasswordCheckerProps) => {
|
||||
}, [password]);
|
||||
|
||||
const checkPassword = useCallback(async () => {
|
||||
if (!password) return;
|
||||
if (password.length < 3) return;
|
||||
try {
|
||||
const res = await makeValidatePassReq();
|
||||
|
Loading…
Reference in New Issue
Block a user