Skip to content
Snippets Groups Projects
Commit 4a4b5aa5 authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

hide password, as there is another way to update the password

parent adcec9c6
Branches
No related tags found
No related merge requests found
Pipeline #72587 passed with warnings
...@@ -62,7 +62,7 @@ class UserCreationFormWithMore(CleanUsernameAndSuggestReset, auth_forms.UserCrea ...@@ -62,7 +62,7 @@ class UserCreationFormWithMore(CleanUsernameAndSuggestReset, auth_forms.UserCrea
class MyUserChangeForm(CleanUsernameAndSuggestReset, auth_forms.UserChangeForm): class MyUserChangeForm(CleanUsernameAndSuggestReset, auth_forms.UserChangeForm):
class Meta: class Meta:
model = get_user_model() model = get_user_model()
fields = ("username", "email", "first_name", "last_name", "password") fields = ("username", "email", "first_name", "last_name")
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs) super().__init__(*args, **kwargs)
......
...@@ -7,7 +7,7 @@ readme = open('README.rst').read() ...@@ -7,7 +7,7 @@ readme = open('README.rst').read()
setup( setup(
name='django-basetheme-bootstrap', name='django-basetheme-bootstrap',
version='0.2.76', version='0.2.77',
description='Django Basetheme Bootstrap', description='Django Basetheme Bootstrap',
long_description=readme, long_description=readme,
author='Bryan Brancotte', author='Bryan Brancotte',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment