fix(superuser): Don't set INTERNAL_IPS to Docker network (#581)
`INTERNAL_IPS` is used to check whether to allow superuser access or not. Limiting this to the Docker internal network makes it impossible for anyone to reach admin pages with on-premise setup. This is a follow up to #572 and it fixes #577.
This commit is contained in:
parent
75fe6c073b
commit
a2507c10e0
@ -30,8 +30,8 @@ def get_internal_network():
|
||||
return ("{0:s}/{1:d}".format(base, netmask_bits),)
|
||||
|
||||
|
||||
INTERNAL_IPS = get_internal_network()
|
||||
INTERNAL_SYSTEM_IPS = INTERNAL_IPS
|
||||
INTERNAL_SYSTEM_IPS = get_internal_network()
|
||||
|
||||
|
||||
DATABASES = {
|
||||
"default": {
|
||||
|
Reference in New Issue
Block a user