aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--uploader/species/views.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/uploader/species/views.py b/uploader/species/views.py
index 08d3728..f478505 100644
--- a/uploader/species/views.py
+++ b/uploader/species/views.py
@@ -27,6 +27,7 @@ render_template = make_template_renderer("species")
@speciesbp.route("/", methods=["GET"])
+@require_login
def list_species():
"""List and display all the species in the database."""
with database_connection(app.config["SQL_URI"]) as conn: