3 changed files with 2 additions and 6 deletions
|
@ -10,7 +10,6 @@ export default function BehaviorNormal(props) {
|
|||
Passwort eingeben. Verhalten Sie sich einfach so, als ob Sie sich
|
||||
normalerweise anmelden.
|
||||
</p>
|
||||
{console.log("props", props)}
|
||||
<GeneratedPassword genPassword={props.genPassword} />
|
||||
</>
|
||||
);
|
||||
|
|
|
@ -11,7 +11,6 @@ export default function GeneratedPassword(props) {
|
|||
<>
|
||||
<p onCopy={handleOnCopyEvent}>
|
||||
Das Passwort für diese Situation lautet:{" "}
|
||||
{console.log("component genpw, genpassword", props.genPassword)}
|
||||
<span className="generated-password">{props.genPassword}</span>
|
||||
</p>
|
||||
</>
|
||||
|
|
|
@ -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}
|
||||
/>
|
||||
<SubmitField
|
||||
|
@ -195,7 +193,7 @@ export default function Study() {
|
|||
onChange={handlePasswordChange}
|
||||
InputType="password"
|
||||
InputName="Passwort"
|
||||
InputPlaceHolder="Benutzername"
|
||||
InputPlaceHolder="Passwort"
|
||||
onPaste={handleOnPasteEvent}
|
||||
/>
|
||||
<SubmitField
|
||||
|
|
Loading…
Reference in a new issue