From f625e4bc5fa946fb3e9dba07e4de252d94897481 Mon Sep 17 00:00:00 2001 From: Babli04 Date: Tue, 28 May 2024 09:45:26 +0200 Subject: [PATCH] Properly fix the forgot password link --- src/js/components/LoginForm.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/js/components/LoginForm.jsx b/src/js/components/LoginForm.jsx index c513314..142f53e 100644 --- a/src/js/components/LoginForm.jsx +++ b/src/js/components/LoginForm.jsx @@ -31,6 +31,10 @@ export function LoginForm({ onSubmit, isInvalid, error}) { }); }, [isInvalid === true]); + useEffect(() => { + document.getElementById("forgotPw").disabled = true; + }, []) + return ( @@ -57,7 +61,7 @@ export function LoginForm({ onSubmit, isInvalid, error}) { color="teal" size="md" /> - + Elfelejtetted a jelszavad?