Prevent cloud remote UI when using 127.0.0.1 as trusted network (#22093)
* Prevent cloud remote UI when using trusted networks * Limit to 127.0.0.1 trusted network * Update error msg * Disable ipv6 loopback
This commit is contained in:
parent
42265036ff
commit
dbdf5558e6
4 changed files with 177 additions and 34 deletions
|
@ -27,3 +27,7 @@ MODE_DEV = "development"
|
|||
MODE_PROD = "production"
|
||||
|
||||
DISPATCHER_REMOTE_UPDATE = 'cloud_remote_update'
|
||||
|
||||
|
||||
class InvalidTrustedNetworks(Exception):
|
||||
"""Raised when invalid trusted networks config."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue