do not set attributes to None, not supported anymore
http://trac.imio.be/trac/ticket/16552#comment:6
This commit is contained in:
parent
f4240b41b0
commit
c08a33b560
|
@ -106,7 +106,7 @@ class AuthenticAdapter(DefaultAdapter):
|
|||
for nrn_attribute, user_attribute in attribute_mapping:
|
||||
try:
|
||||
Attribute.objects.get(name=user_attribute).set_value(user,
|
||||
attributes.get(nrn_attribute),
|
||||
attributes.get(nrn_attribute) or '',
|
||||
verified=True)
|
||||
except Attribute.DoesNotExist:
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue