From fa82745f64bbaaca71c913c151447407a72e6677 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 27 Oct 2020 19:26:04 +0100 Subject: [PATCH] Put import_ldap_users behind a login --- cps/web.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cps/web.py b/cps/web.py index aa1cac1a..758a2313 100644 --- a/cps/web.py +++ b/cps/web.py @@ -307,6 +307,7 @@ def before_request(): @app.route('/import_ldap_users') +@login_required def import_ldap_users(): showtext = {} try: