mirror of https://github.com/craigerl/aprsd.git
Make the index page behind auth
This patch makes the index page ask for login/password in order to see the stats.
This commit is contained in:
parent
f10372b320
commit
6297ebeb67
|
@ -41,6 +41,7 @@ class APRSDFlask(flask_classful.FlaskView):
|
||||||
|
|
||||||
users = self.users
|
users = self.users
|
||||||
|
|
||||||
|
@auth.login_required
|
||||||
def index(self):
|
def index(self):
|
||||||
return flask.render_template("index.html", message=self.stats())
|
return flask.render_template("index.html", message=self.stats())
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue