Commits

Anonymous committed 184b6f9

Update register view.

Comments (0)

Files changed (1)

registration/views.py

     if request.method == 'POST':
         form = form_class(data=request.POST, files=request.FILES)
         if form.is_valid():
+            new_user = backend.register(request, **form.cleaned_data)
             return redirect(success_url)
     else:
         form = form_class()