1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

fix: password

This commit is contained in:
Fredrik Oseberg 2021-04-23 15:31:42 +02:00
parent b1c32eab71
commit e81918ee48

View File

@ -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();