Commit 88efc228 authored by ale's avatar ale

fix typo in WSGI middleware

parent e87208ca
......@@ -73,9 +73,9 @@ class SSOMiddleware:
allow_groups = set()
elif not isinstance(allow_groups, set):
allow_groups = set(allow_groups)
self.groups = allow_groups
self.allow_groups = allow_groups
self.verifier = sso.Verifier(
public_key, self.service, domain, allow_groups)
public_key, service, domain, allow_groups)
def __call__(self, environ, start_response):
uri = environ['SCRIPT_NAME'] + environ['PATH_INFO']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment