Browse Source

Added option for configuring HTTPS_ONLY

master
Leo Maroni 1 year ago
parent
commit
89e3d903d1
Signed by: em0lar GPG Key ID: B1ADA545CD2CBACD
  1. 2
      wifi_radius_manager.py

2
wifi_radius_manager.py

@ -57,6 +57,8 @@ def saml_client_for(idp_name=None):
idp_name=idp_name,
_external=True,
_scheme='https')
if bool(os.environ.get("HTTPS_ONLY", default=False)):
acs_url = https_acs_url
rv = requests.get(metadata_url_for[idp_name])

Loading…
Cancel
Save