From: Loic Baron Date: Tue, 14 Jan 2014 09:56:45 +0000 (+0100) Subject: Merge branch 'master' of ssh://git.onelab.eu/git/myslice X-Git-Tag: myslice-0.3-0~36 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=4342bd2f4160349762df6b97bd6b4717c1d7c531;hp=5d6232c324cc1baa1117854ff498c910994e4bfd;p=unfold.git Merge branch 'master' of ssh://git.onelab.eu/git/myslice --- diff --git a/portal/registrationview.py b/portal/registrationview.py index 05b117b4..5c48726d 100644 --- a/portal/registrationview.py +++ b/portal/registrationview.py @@ -145,7 +145,7 @@ class RegistrationView (FreeAccessView): ) b.save() # saves the user to django auth_user table [needed for password reset] - user = User.objects.create_user(reg_fname, reg_email, request.POST['password']) + user = User.objects.create_user(reg_email, reg_email, request.POST['password']) #creating user to manifold local:user config = '{"firstname":"'+ reg_fname + '", "lastname":"'+ reg_lname + '", "authority":"'+ reg_auth + '"}' user_params = {'email': reg_email, 'password': request.POST['password'], 'config': config}