summaryrefslogtreecommitdiffstats
path: root/forum/views/auth.py
diff options
context:
space:
mode:
authorhrcerqueira <hrcerqueira@gmail.com>2010-03-07 23:41:26 +0000
committerhrcerqueira <hrcerqueira@gmail.com>2010-03-07 23:41:26 +0000
commitccfbbd7f183538e96df76d82b2f4081fcc119b1f (patch)
tree9eae31a6f8d4d3c5397d6d6ff457b6ec51dd32b5 /forum/views/auth.py
parent0d1d1ef3a3416b5bcd4eb867356484b28f0c7f05 (diff)
downloadaskbot-ccfbbd7f183538e96df76d82b2f4081fcc119b1f.tar.gz
askbot-ccfbbd7f183538e96df76d82b2f4081fcc119b1f.tar.bz2
askbot-ccfbbd7f183538e96df76d82b2f4081fcc119b1f.zip
Lots of small fixes, including the missing comments problem.
Diffstat (limited to 'forum/views/auth.py')
-rw-r--r--forum/views/auth.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/forum/views/auth.py b/forum/views/auth.py
index 1b57853a..72b0af29 100644
--- a/forum/views/auth.py
+++ b/forum/views/auth.py
@@ -271,6 +271,7 @@ def auth_settings(request):
request.user.message_set.create(message=_("Your password was changed"))
else:
request.user.message_set.create(message=_("New password set"))
+ form = ChangePasswordForm(user=user_)
user_.set_password(form.cleaned_data['password1'])
user_.save()