Commit 8c7a4fe5 authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

hide password

parent 4a4b5aa5
Pipeline #72592 passed with stage
in 48 seconds
from django import forms
from django.contrib.auth import get_user_model, forms as auth_forms
from django.db.models import Q
......@@ -60,6 +59,8 @@ class UserCreationFormWithMore(CleanUsernameAndSuggestReset, auth_forms.UserCrea
class MyUserChangeForm(CleanUsernameAndSuggestReset, auth_forms.UserChangeForm):
password = None
class Meta:
model = get_user_model()
fields = ("username", "email", "first_name", "last_name")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment