Changed https problems
This commit is contained in:
parent
00eda068d2
commit
a7b55b3606
@ -33,9 +33,10 @@ 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'))
|
||||
request.is_local = True
|
||||
|
||||
if request.function == 'manage':
|
||||
if not 'auth' in globals() or not request.args:
|
||||
|
Loading…
Reference in New Issue
Block a user