summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerghei Mihai <smihai@entrouvert.com>2015-06-01 12:40:35 (GMT)
committerFrédéric Péters <fpeters@0d.be>2015-06-10 08:17:08 (GMT)
commit5fd1879a84d274d68ebbcdd6a1af44050f3a85f2 (patch)
treedde29780efd814119c2c980f258da5470dbb5f82
parent7f114ba12bb10d6ac07bdf1a4bb5f7a48f7b744f (diff)
downloadauthentic2-beid-5fd1879a84d274d68ebbcdd6a1af44050f3a85f2.zip
authentic2-beid-5fd1879a84d274d68ebbcdd6a1af44050f3a85f2.tar.gz
authentic2-beid-5fd1879a84d274d68ebbcdd6a1af44050f3a85f2.tar.bz2
registration: user's rrn save fix (#7434)
-rw-r--r--src/authentic2_beid/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/authentic2_beid/views.py b/src/authentic2_beid/views.py
index 5b16235..aca9809 100644
--- a/src/authentic2_beid/views.py
+++ b/src/authentic2_beid/views.py
@@ -98,7 +98,7 @@ class BeIDRegistrationCompletionView(RegistrationCompletionView):
def form_valid(self, form):
ret = super(BeIDRegistrationCompletionView, self).form_valid(form)
if self.request.session.get('ssl_info'):
- set_rrn(user, self.request.session['ssl_info'])
+ set_rrn(self.object, self.request.session['ssl_info'])
cert = models.ClientCertificate(user=self.object)
cert.__dict__.update(self.request.session['ssl_info'])
cert.save()