Commit 48b6b49d authored by Lukas Burgey's avatar Lukas Burgey
Browse files

Fix small bug in the changes for #2

parent effd19d7
......@@ -70,7 +70,7 @@ class Auth(View):
LOGGER.debug('Auth: redirecting %s to IdP %s', state, oidc_config)
# include query parameters in the redirect to the idp
if request.GET.items().length > 1:
if len(list(request.GET.items())) > 1:
urlparams = request.GET.copy()
if 'idp' in urlparams:
del urlparams['idp']
Supports Markdown
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