# HG changeset patch # User ymh # Date 1442491232 -7200 # Node ID ff53324647d59c5a48cb8b2525222f5502e9d57a # Parent 2abdf83dd7e9f5b015a472fafa82d505a179770f correct switch between firstname and last name on cas connect diff -r 2abdf83dd7e9 -r ff53324647d5 server/src/remie/cas.py --- 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