Commit 0ff75748 authored by Leonidas Poulopoulos's avatar Leonidas Poulopoulos
Browse files

Added HTTP_MAIL in user mail lookup

parent c239b5d4
......@@ -964,6 +964,8 @@ def user_login(request):
lastname = request.META['HTTP_SHIB_PERSON_SURNAME']
if 'mail' in request.META:
mail = request.META['mail']
elif ('HTTP_MAIL' in request.META):
mail = request.META['HTTP_MAIL']
elif ('HTTP_SHIB_INETORGPERSON_MAIL' in request.META):
mail = request.META['HTTP_SHIB_INETORGPERSON_MAIL']
else:
......
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