summaryrefslogtreecommitdiffstats
path: root/apps/patchwork
diff options
context:
space:
mode:
Diffstat (limited to 'apps/patchwork')
-rw-r--r--apps/patchwork/views/user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/patchwork/views/user.py b/apps/patchwork/views/user.py
index b042d35..f9ff7f8 100644
--- a/apps/patchwork/views/user.py
+++ b/apps/patchwork/views/user.py
@@ -69,6 +69,7 @@ def link(request):
if form.is_valid():
conf = UserPersonConfirmation(user = request.user,
email = form.cleaned_data['email'])
+ conf.save()
context['confirmation'] = conf
try:
@@ -77,7 +78,6 @@ def link(request):
context),
settings.DEFAULT_FROM_EMAIL,
[form.cleaned_data['email']])
- conf.save()
except Exception, ex:
context['confirmation'] = None
context['error'] = 'An error occurred during confirmation. ' + \