From 6297ebeb670d1ce986795f55ab15750da8ae0f44 Mon Sep 17 00:00:00 2001 From: Hemna Date: Tue, 30 Mar 2021 09:55:14 -0400 Subject: [PATCH] Make the index page behind auth This patch makes the index page ask for login/password in order to see the stats. --- aprsd/flask.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aprsd/flask.py b/aprsd/flask.py index e9b51ca..4898742 100644 --- a/aprsd/flask.py +++ b/aprsd/flask.py @@ -41,6 +41,7 @@ class APRSDFlask(flask_classful.FlaskView): users = self.users + @auth.login_required def index(self): return flask.render_template("index.html", message=self.stats())