Commit e16b1958 authored by Leonidas Poulopoulos's avatar Leonidas Poulopoulos
Browse files

Patch that fixes multiple mail atributes returned by shib

parent 6ecbf4ec
......@@ -471,6 +471,6 @@ def send_new_mail(subject, message, from_email, recipient_list, bcc_list):
def lookupShibAttr(attrmap, requestMeta):
for attr in attrmap:
if attr in requestMeta:
if (attr in requestMeta) & (len(requestMeta[attr]) > 0):
return requestMeta[attr]
return ''
\ No newline at end of file
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