--- a/server/src/remie/cas.py Thu Sep 17 13:46:39 2015 +0200
+++ b/server/src/remie/cas.py Thu Sep 17 14:00:32 2015 +0200
@@ -37,9 +37,9 @@
if element.tag.endswith('user'):
user = element.text
elif element.tag.endswith('prenom'):
- attributes['last_name'] = element.text
+ attributes['first_name'] = element.text
elif element.tag.endswith('nom'):
- attributes['first_name'] = element.text
+ attributes['last_name'] = element.text
elif element.tag.endswith('proxyGrantingTicket'):
pgtiou = element.text
return user, attributes, pgtiou