diff --git a/backend/src/app.py b/backend/src/app.py
index 6d9b201..62be6d7 100644
--- a/backend/src/app.py
+++ b/backend/src/app.py
@@ -134,7 +134,6 @@ def protected():
@app.route('/api/protected/rcv_pw', methods=['GET'])
-# @flask_praetorian.auth_required
def get_password():
pw = get_random_password()
ret = {'password': pw}
diff --git a/frontend/src/components/pages/Study.js b/frontend/src/components/pages/Study.js
index 4d73609..c5247c9 100644
--- a/frontend/src/components/pages/Study.js
+++ b/frontend/src/components/pages/Study.js
@@ -68,7 +68,6 @@ export default function Study() {
setIsStepStart(false);
setIsStepNormal(true);
handleLoggerOn();
- // forceUpdate();
};
const handleClickAtStepNormal = () => {
@@ -87,30 +86,6 @@ export default function Study() {
handleLoggerOff();
};
- const onSubmitClick = (e) => {
- e.preventDefault();
- let opts = {
- username: username,
- password: password,
- };
- fetch("/api/protected/behavior", {
- method: "post",
- body: JSON.stringify(opts),
- }).then((response) => {
- console.log(response.status);
- if (response.status === 401) {
- response.json().then((resp) => {
- console.log("nicht so wirklich gut");
- // setErrorMessage(resp.message);
- });
- } else {
- response.json().then((token) => {
- console.log("Alles gut :-)");
- });
- }
- });
- };
-
const study_start = (
<>