diff --git a/tournaments/forms.py b/tournaments/forms.py index 288d05b..cc4d314 100644 --- a/tournaments/forms.py +++ b/tournaments/forms.py @@ -11,6 +11,7 @@ from django.contrib.sites.shortcuts import get_current_site from django.utils.encoding import force_bytes class CustomUserCreationForm(UserCreationForm): + usable_password = None class Meta: model = CustomUser @@ -30,6 +31,7 @@ class CustomUserCreationForm(UserCreationForm): fields = UserCreationForm.Meta.fields + ('umpire_code', 'clubs', 'phone', 'first_name', 'last_name', 'licence_id', 'country') class SimpleCustomUserCreationForm(UserCreationForm): + usable_password = None class Meta: model = CustomUser diff --git a/tournaments/templates/profile.html b/tournaments/templates/profile.html index 98c3fe8..89fd5f4 100644 --- a/tournaments/templates/profile.html +++ b/tournaments/templates/profile.html @@ -11,7 +11,7 @@ {% if user.is_authenticated %} Mes tournois Mon compte - Se déconnecter + Se déconnecter {% else %} Se connecter {% endif %} diff --git a/tournaments/templates/registration/login.html b/tournaments/templates/registration/login.html index 66e056a..9a360a0 100644 --- a/tournaments/templates/registration/login.html +++ b/tournaments/templates/registration/login.html @@ -26,7 +26,7 @@ {% endfor %} {% endif %} -