From 19e0d95b51dfe7b76b4e00a12eb471b35474a720 Mon Sep 17 00:00:00 2001 From: Markus Schmidt Date: Wed, 13 Oct 2021 16:36:31 +0200 Subject: [PATCH] Changed: appadmin to work without https --- controllers/appadmin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/controllers/appadmin.py b/controllers/appadmin.py index 15b5a2c..0a3d536 100644 --- a/controllers/appadmin.py +++ b/controllers/appadmin.py @@ -33,9 +33,9 @@ if request.is_https: elif request.env.trusted_lan_prefix and \ remote_addr.startswith(request.env.trusted_lan_prefix): request.is_local = True -elif (remote_addr not in hosts) and (remote_addr != '127.0.0.1') and \ - (request.function != 'manage'): - raise HTTP(200, T('appadmin is disabled because insecure channel')) +# elif (remote_addr not in hosts) and (remote_addr != '127.0.0.1') and \ +# (request.function != 'manage'): +# raise HTTP(200, T('appadmin is disabled because insecure channel')) if request.function == 'manage': if not 'auth' in globals() or not request.args: