summaryrefslogtreecommitdiffstats
path: root/forum/views.py
diff options
context:
space:
mode:
authorhrcerqueira <hrcerqueira@gmail.com>2010-01-20 19:52:56 +0000
committerhrcerqueira <hrcerqueira@gmail.com>2010-01-20 19:52:56 +0000
commite70af1088b01f059a5a989ef4640e45999af007b (patch)
tree3c9160d7b13ccabf0f5a9cf0bcbec8473542d9fa /forum/views.py
parent9265259c2d4ae064254b84dae36da095e8cb4c7b (diff)
downloadaskbot-e70af1088b01f059a5a989ef4640e45999af007b.tar.gz
askbot-e70af1088b01f059a5a989ef4640e45999af007b.tar.bz2
askbot-e70af1088b01f059a5a989ef4640e45999af007b.zip
Users no long are allowed to change their username, and the email address is now a required field.
Diffstat (limited to 'forum/views.py')
-rw-r--r--forum/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/forum/views.py b/forum/views.py
index f5eb6598..04d9d497 100644
--- a/forum/views.py
+++ b/forum/views.py
@@ -1235,7 +1235,7 @@ def edit_user(request, id):
from django_authopenid.views import set_new_email
set_new_email(user, new_email)
- user.username = sanitize_html(form.cleaned_data['username'])
+ #user.username = sanitize_html(form.cleaned_data['username'])
user.real_name = sanitize_html(form.cleaned_data['realname'])
user.website = sanitize_html(form.cleaned_data['website'])
user.location = sanitize_html(form.cleaned_data['city'])