save() user before provisioning from NRN, to avoid first/last names conflicts

This commit is contained in:
Frédéric Péters 2016-09-26 09:56:14 +02:00
parent 99a510ef93
commit 6c282fccac
1 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ class AuthenticAdapter(DefaultAdapter):
Attribute.objects.get(name='title').set_value(user, title,
verified=True)
user.save()
if nrn:
self.provision_from_nrn(user, nrn)
user.save()