@@ -275,6 +281,8 @@ let sid;
let clientSecret;
function Register({ registerInfo, loginFlow, baseUrl }) {
const [process, setProcess] = useState({});
+ const [passVisible, setPassVisible] = useState(false);
+ const [cPassVisible, setCPassVisible] = useState(false);
const formRef = useRef();
const ssoProviders = loginFlow?.filter((flow) => flow.type === 'm.login.sso')[0];
@@ -444,9 +452,15 @@ function Register({ registerInfo, loginFlow, baseUrl }) {