Commit 05c41611 authored by Albert's avatar Albert
Browse files

fixed Member certificate renewal

parent e1b47938
Pipeline #2962 failed with stage
in 1 minute and 54 seconds
......@@ -94,7 +94,7 @@ class MemberAuthority(Cbas):
'first_name': u.get('MEMBER_FIRSTNAME'),
'last_name': u.get('MEMBER_LASTNAME'),
'keys': k.get('data', []),
'certificate': u.get('MEMBER_CERTIFICATE'),
'certificate': u.get('MEMBER_CERTIFICATE', ''),
'email': u.get('MEMBER_EMAIL'),
'created': u.get('created'),
# 'updated': self._datetime(d['last_updated']),
......@@ -120,7 +120,7 @@ class MemberAuthority(Cbas):
'MEMBER_EMAIL': record_dict.get('email'),
'MEMBER_FIRSTNAME': record_dict.get('first_name', ''),
'MEMBER_LASTNAME': record_dict.get('last_name', ''),
# 'MEMBER_CERTIFICATE': record_dict.get('certificate',''),
'MEMBER_CERTIFICATE': record_dict.get('certificate',''),
'_ONELAB_MEMBER_AFFILIATION': record_dict.get('affiliation', ''),
'_ONELAB_MEMBER_CITY': record_dict.get('city', ''),
'_ONELAB_MEMBER_COUNTRY': record_dict.get('country', ''),
......
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