Commit e2357bb4 by Őry Máté

school: fix http500 for nonaffiliated eduid users

parent 9dfc8dec
......@@ -98,8 +98,10 @@ def login(request):
co.save()
g.save()
try:
affiliation = request.META['affiliation']
except KeyError:
affiliation = ''
if affiliation == '':
affiliation = []
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 sign in to comment