From 7d79b727a99f14ce22be05e857c6d963f163e70e Mon Sep 17 00:00:00 2001 From: piair Date: Wed, 4 Oct 2023 18:40:49 +0200 Subject: [PATCH] bon j'y crois, tout marche --- Flask/app.py | 1 + Flask/templates/schedule.html | 2 +- Flask/templates/settings.html | 2 -- version | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Flask/app.py b/Flask/app.py index 1542957..00461b0 100644 --- a/Flask/app.py +++ b/Flask/app.py @@ -174,6 +174,7 @@ def change_password(): global password if request.method == 'POST': password = request.form["password"] + subprocess.Popen([f"grafana-cli admin reset-admin-password {password}"]) with open("/app/MsRewards-Reborn/user_data/flask.json", "w") as inFile: data = { "password": password, diff --git a/Flask/templates/schedule.html b/Flask/templates/schedule.html index e406ef7..ab6a897 100644 --- a/Flask/templates/schedule.html +++ b/Flask/templates/schedule.html @@ -7,7 +7,7 @@ {% else %} -
+ {% for i in data %} diff --git a/Flask/templates/settings.html b/Flask/templates/settings.html index e65cbb0..021be41 100644 --- a/Flask/templates/settings.html +++ b/Flask/templates/settings.html @@ -22,9 +22,7 @@

TODO



Backup config files

diff --git a/version b/version index ae460f7..3f3ac79 100644 --- a/version +++ b/version @@ -1 +1 @@ -v6.6.51 +v6.7.0