diff --git a/src/frontend/src/components/inputComponent/index.tsx b/src/frontend/src/components/inputComponent/index.tsx index 1f7e633b4..2b8c9c0e3 100644 --- a/src/frontend/src/components/inputComponent/index.tsx +++ b/src/frontend/src/components/inputComponent/index.tsx @@ -127,7 +127,7 @@ export default function InputComponent({ if (password) { // check if all chars are • if ( - e.target.value.split("").every((char) => char === "•") + e.target.value.split("").every((char) => char === "•") && e.target.value !== "" ) { setErrorData({ title: `Invalid characters: ${e.target.value}`,