diff --git a/tournaments/templates/registration/signup_success.html b/tournaments/templates/registration/signup_success.html
index 0e40cc7..e783bfc 100644
--- a/tournaments/templates/registration/signup_success.html
+++ b/tournaments/templates/registration/signup_success.html
@@ -10,13 +10,29 @@
-
+
- Veuillez vérifier votre e-mail pour confirmer votre compte.
+
Un e-mail de confirmation a été envoyé à :
+ {{ user_email }}
+
+
Pour finaliser votre inscription, merci de :
+
+ - Vérifier votre boîte de réception (et vos spams si nécessaire)
+ - Cliquer sur le lien de confirmation dans l'e-mail
+
-
+
+
{% endblock %}
diff --git a/tournaments/views.py b/tournaments/views.py
index 6bdc5ca..c893323 100644
--- a/tournaments/views.py
+++ b/tournaments/views.py
@@ -635,7 +635,8 @@ def signup(request):
send_verification_email(request, user, next_url)
return render(request, 'registration/signup_success.html', {
- 'next_url': next_url
+ 'next_url': next_url,
+ 'user_email': user.email # Add the user's email to the context
})
else:
form = SimpleCustomUserCreationForm()