diff options
author | Frederick Muriuki Muriithi | 2024-09-18 01:36:51 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-09-18 01:36:51 -0500 |
commit | 590ef1232032958dd448c2eaa9ca760e008a9687 (patch) | |
tree | 9fdd32a400816f8ca42cbfcb45781726dc5ba366 /uploader | |
parent | 7531b17018a0a81edce95802cc370661106cc481 (diff) | |
download | gn-uploader-590ef1232032958dd448c2eaa9ca760e008a9687.tar.gz |
Put endpoint behind auth.
Diffstat (limited to 'uploader')
-rw-r--r-- | uploader/species/views.py | 1 |
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: |