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 %} -