Commit e21fa672 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

astakos: Fix shibboleth headers logging

parent c05e3b6d
......@@ -80,7 +80,10 @@ def login(
shibboleth_headers = {}
for token in dir(Tokens):
if token == token.upper():
shibboleth_headers[token] = request.META.get(token, 'NOT_SET')
shibboleth_headers[token] = request.META.get(getattr(Tokens,
token),
'NOT_SET')
# log shibboleth headers
# TODO: info -> debug
......
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