diff --git a/Back-End/Subscriptions/views/register_form_views.py b/Back-End/Subscriptions/views/register_form_views.py index 51e0caf..b371ab2 100644 --- a/Back-End/Subscriptions/views/register_form_views.py +++ b/Back-End/Subscriptions/views/register_form_views.py @@ -336,12 +336,12 @@ class RegisterFormWithIdView(APIView): # Fallback sur le champ email direct (si jamais il existe) if not email: email = getattr(guardian, "email", None) - logger.error(f"[RF_UNDER_REVIEW] Guardian id={guardian.id}, email={email}") + logger.debug(f"[RF_UNDER_REVIEW] Guardian id={guardian.id}, email={email}") if email: profile_exists = Profile.objects.filter(email=email).exists() - logger.error(f"[RF_UNDER_REVIEW] Profile existe pour {email} ? {profile_exists}") + logger.debug(f"[RF_UNDER_REVIEW] Profile existe pour {email} ? {profile_exists}") if not profile_exists: - logger.error(f"[RF_UNDER_REVIEW] Envoi du mail d'inscription à {email} pour l'établissement {registerForm.establishment.pk}") + logger.debug(f"[RF_UNDER_REVIEW] Envoi du mail d'inscription à {email} pour l'établissement {registerForm.establishment.pk}") sendRegisterForm(email, registerForm.establishment.pk) # Mise à jour de l'automate