Changed removed changes becaus https problem
This commit is contained in:
parent
a7b55b3606
commit
c3a388b9f5
@ -35,8 +35,7 @@ elif request.env.trusted_lan_prefix and \
|
|||||||
request.is_local = True
|
request.is_local = True
|
||||||
elif (remote_addr not in hosts) and (remote_addr != '127.0.0.1') and \
|
elif (remote_addr not in hosts) and (remote_addr != '127.0.0.1') and \
|
||||||
(request.function != 'manage'):
|
(request.function != 'manage'):
|
||||||
# raise HTTP(200, T('appadmin is disabled because insecure channel'))
|
raise HTTP(200, T('appadmin is disabled because insecure channel'))
|
||||||
request.is_local = True
|
|
||||||
|
|
||||||
if request.function == 'manage':
|
if request.function == 'manage':
|
||||||
if not 'auth' in globals() or not request.args:
|
if not 'auth' in globals() or not request.args:
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{{extend 'layout.html'}}
|
{{extend 'layout.html'}}
|
||||||
{{request.is_local=True}}
|
|
||||||
<script><!--
|
<script><!--
|
||||||
jQuery(document).ready(function(){
|
jQuery(document).ready(function(){
|
||||||
jQuery("table.sortable tbody tr").mouseover( function() {
|
jQuery("table.sortable tbody tr").mouseover( function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user