From 4a4b5aa5246cbef09b83b829fc7efe306d7c947c Mon Sep 17 00:00:00 2001 From: Bryan Brancotte <bryan.brancotte@pasteur.fr> Date: Tue, 4 Jan 2022 12:19:22 +0100 Subject: [PATCH] hide password, as there is another way to update the password --- basetheme_bootstrap/forms.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/basetheme_bootstrap/forms.py b/basetheme_bootstrap/forms.py index c19d506..cd40ae4 100644 --- a/basetheme_bootstrap/forms.py +++ b/basetheme_bootstrap/forms.py @@ -62,7 +62,7 @@ class UserCreationFormWithMore(CleanUsernameAndSuggestReset, auth_forms.UserCrea class MyUserChangeForm(CleanUsernameAndSuggestReset, auth_forms.UserChangeForm): class Meta: model = get_user_model() - fields = ("username", "email", "first_name", "last_name", "password") + fields = ("username", "email", "first_name", "last_name") def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) diff --git a/setup.py b/setup.py index 37b5eb7..fa00399 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ readme = open('README.rst').read() setup( name='django-basetheme-bootstrap', - version='0.2.76', + version='0.2.77', description='Django Basetheme Bootstrap', long_description=readme, author='Bryan Brancotte', -- GitLab