diff --git a/backend/__pycache__/app.cpython-38.pyc b/backend/__pycache__/app.cpython-38.pyc new file mode 100644 index 0000000..951bfbe Binary files /dev/null and b/backend/__pycache__/app.cpython-38.pyc differ diff --git a/backend/__pycache__/config.cpython-38.pyc b/backend/__pycache__/config.cpython-38.pyc new file mode 100644 index 0000000..ad47e0f Binary files /dev/null and b/backend/__pycache__/config.cpython-38.pyc differ diff --git a/backend/application/__pycache__/__init__.cpython-38.pyc b/backend/application/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000..073b912 Binary files /dev/null and b/backend/application/__pycache__/__init__.cpython-38.pyc differ diff --git a/backend/application/__pycache__/api_functions.cpython-38.pyc b/backend/application/__pycache__/api_functions.cpython-38.pyc index caecb26..adf8d1d 100644 Binary files a/backend/application/__pycache__/api_functions.cpython-38.pyc and b/backend/application/__pycache__/api_functions.cpython-38.pyc differ diff --git a/backend/application/__pycache__/logs_model.cpython-38.pyc b/backend/application/__pycache__/logs_model.cpython-38.pyc new file mode 100644 index 0000000..73e48a0 Binary files /dev/null and b/backend/application/__pycache__/logs_model.cpython-38.pyc differ diff --git a/backend/application/__pycache__/responses.cpython-38.pyc b/backend/application/__pycache__/responses.cpython-38.pyc new file mode 100644 index 0000000..7975ba1 Binary files /dev/null and b/backend/application/__pycache__/responses.cpython-38.pyc differ diff --git a/backend/application/__pycache__/routes.cpython-38.pyc b/backend/application/__pycache__/routes.cpython-38.pyc new file mode 100644 index 0000000..fae7dfb Binary files /dev/null and b/backend/application/__pycache__/routes.cpython-38.pyc differ diff --git a/backend/application/__pycache__/sessionJWT.cpython-38.pyc b/backend/application/__pycache__/sessionJWT.cpython-38.pyc new file mode 100644 index 0000000..2ea8bca Binary files /dev/null and b/backend/application/__pycache__/sessionJWT.cpython-38.pyc differ diff --git a/backend/application/__pycache__/users_model.cpython-38.pyc b/backend/application/__pycache__/users_model.cpython-38.pyc index 3048305..989f25a 100644 Binary files a/backend/application/__pycache__/users_model.cpython-38.pyc and b/backend/application/__pycache__/users_model.cpython-38.pyc differ diff --git a/backend/application/api_functions.py b/backend/application/api_functions.py index 30e10cf..000a813 100644 --- a/backend/application/api_functions.py +++ b/backend/application/api_functions.py @@ -1,3 +1,4 @@ +print("test") import hashlib import os from datetime import datetime @@ -5,6 +6,7 @@ from flask_sqlalchemy import inspect from sqlalchemy import asc, desc, or_ from .users_model import Users, db from .logs_model import Logs +print("blabla") def db_create_log(ip, action, message, has_succeeded, status_code, table=None, id_user=None): diff --git a/backend/env.sh b/backend/env.sh index 7a02bc5..da2fa7f 100755 --- a/backend/env.sh +++ b/backend/env.sh @@ -4,4 +4,3 @@ export FLASK_DEBUG=1 export PYTHONUNBUFFERED=1 export DATABASE_URL_USERS=postgresql://flaskaled1:aled1@localhost:5433/flaskaledDb1 export DATABASE_URL_LOGS=postgresql://flaskaled2:aled2@localhost:5434/flaskaledDb2 -export SECRET_KEY=\xe6\xfe9;\xddA\x00\xca\xd4\xbb\x05q\xd9q\xe6e\x98DC\x08:+\xc9\x893\xd6\xa7\xea\x1e\x05\x03\xdc \ No newline at end of file diff --git a/backend/init-db1.sql b/backend/init-db1.sql old mode 100644 new mode 100755 diff --git a/frontend/src/app/common/components/page-profil/page-profil.component.html b/frontend/src/app/common/components/page-profil/page-profil.component.html index 9a05496..d98804a 100644 --- a/frontend/src/app/common/components/page-profil/page-profil.component.html +++ b/frontend/src/app/common/components/page-profil/page-profil.component.html @@ -33,7 +33,7 @@
@@ -41,7 +41,7 @@