From 90e77bf4504cb82ea41cf9a94c90eecad3190a83 Mon Sep 17 00:00:00 2001
From: cami
Das Passwort für diese Situation lautet:{" "} - {console.log("component genpw, genpassword", props.genPassword)} {props.genPassword}
> diff --git a/frontend/src/components/pages/Study.jsx b/frontend/src/components/pages/Study.jsx index 54b8f8b..e8588ab 100644 --- a/frontend/src/components/pages/Study.jsx +++ b/frontend/src/components/pages/Study.jsx @@ -73,7 +73,6 @@ export default function Study() { const handleOnPasteEvent = (e) => { e.preventDefault(); - console.log("paste not allowed"); return false; }; @@ -88,7 +87,6 @@ export default function Study() { response.json().then((resp) => { console.log(resp.random_password); setGenPassword(resp.random_password); - console.log("rcv pw; print genPassword", genPassword); }); }); }; @@ -165,7 +163,7 @@ export default function Study() { onChange={handlePasswordChange} InputType="password" InputName="Passwort" - InputPlaceHolder="Benutzername" + InputPlaceHolder="Passwort" onPaste={handleOnPasteEvent} />