Allow current to edit more details of himself, saner redirection after password change
This commit is contained in:
@@ -122,7 +122,7 @@ class UserForm(forms.ModelForm):
|
||||
"""
|
||||
class Meta:
|
||||
model = User
|
||||
fields = ('first_name', 'last_name')
|
||||
fields = ('username', 'first_name', 'last_name', 'email')
|
||||
|
||||
|
||||
class EmailAuthenticationForm(AuthenticationForm):
|
||||
|
||||
Reference in New Issue
Block a user