We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f8a9f4 commit d2d1b54Copy full SHA for d2d1b54
1 file changed
oidc/views.py
@@ -55,7 +55,7 @@ def dispatch(self, request, helper):
55
if domain in OIDC_DOMAIN_BLOCKLIST:
56
return helper.error(ERR_INVALID_DOMAIN % (domain,))
57
58
- if OIDC_DOMAIN_ALLOWLIST != set() and domain not in OIDC_DOMAIN_ALLOWLIST:
+ if OIDC_DOMAIN_ALLOWLIST and domain not in OIDC_DOMAIN_ALLOWLIST:
59
60
61
helper.bind_state("domain", domain)
0 commit comments