Commit 770707fdf8dae330b59af3ef14ee93460c810746
1 parent
d9a7dc25
Exists in
master
and in
39 other branches
not allowing users to update their usernames
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/accounts/forms.py
| @@ -52,7 +52,7 @@ class UserUpdateForm(UserForm): | @@ -52,7 +52,7 @@ class UserUpdateForm(UserForm): | ||
| 52 | 52 | ||
| 53 | class Meta: | 53 | class Meta: |
| 54 | model = User | 54 | model = User |
| 55 | - fields = ('username', 'first_name', 'last_name', | 55 | + fields = ('first_name', 'last_name', |
| 56 | 'institution', 'role', 'twitter', 'facebook', | 56 | 'institution', 'role', 'twitter', 'facebook', |
| 57 | 'google_talk', 'webpage') | 57 | 'google_talk', 'webpage') |
| 58 | 58 |