diff --git a/.env b/.env index 35b39b6..2e51029 100644 --- a/.env +++ b/.env @@ -13,6 +13,7 @@ MQTT_USER=alex MQTT_PASSWORD=batt1l0 MQTT_DS_TOPIC="$CONTROL/dynamic-security/v1" MQTT_DS_RESP_TOPIC="$CONTROL/dynamic-security/v1/response" +MQTT_PWDX=AsE -GMAIL_USER=alessandro.battilani@gmail.com -GMAIL_PASSWORD=batmanu#171017 \ No newline at end of file +GMAIL_USER= +GMAIL_PASSWORD= \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 1561c79..aa86391 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,4 +1,18 @@ { "taipyStudio.config.mainPythonFile": "manage.py", - "taipyStudio.gUI.elementsFilePaths": [] + "taipyStudio.gUI.elementsFilePaths": [], + "rest-client.environmentVariables": { + "$shared": { + "version": "v1", + "prodToken": "foo", + "nonProdToken": "bar" + }, + "test": { + "version": "v2", + "host": "localhost" + }, + "production": { + "host": "aaaaa", + } + } } \ No newline at end of file diff --git a/Test_API_wallet.http b/Test_API_wallet.http new file mode 100644 index 0000000..6d7e090 --- /dev/null +++ b/Test_API_wallet.http @@ -0,0 +1,16 @@ +POST http://{{host}}:8000/get/ HTTP/1.1 +Content-Type: application/json + +{ + "master_password": "pipperepettenuse", + "site": "enertec_ase_site51" +} + +#### + +POST http://{{host}}:8000/list/ HTTP/1.1 +Content-Type: application/json + +{ + "master_password": "pipperepettenuse" +} \ No newline at end of file diff --git a/aseusers/templates/aseusers/profile_edit.html b/aseusers/templates/aseusers/profile_edit.html index cffc157..ae6854c 100644 --- a/aseusers/templates/aseusers/profile_edit.html +++ b/aseusers/templates/aseusers/profile_edit.html @@ -1,54 +1,86 @@ -{% extends 'layouts/box.html' %} {% block content %} {% if onboarding %} -