Skip to content

Commit

Permalink
Suppression de l'appel à 'add_to_contact_list'
Browse files Browse the repository at this point in the history
  • Loading branch information
chloend committed Oct 24, 2024
1 parent e014c41 commit 333aded
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lemarche/www/tenders/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from lemarche.tenders.models import Tender, TenderQuestion
from lemarche.users import constants as user_constants
from lemarche.users.models import User
from lemarche.utils.emails import add_to_contact_list
from lemarche.www.auth.tasks import send_new_user_password_reset_link


Expand Down Expand Up @@ -79,7 +78,6 @@ def get_or_create_user_from_anonymous_content(
)
if created and settings.BITOUBI_ENV == "prod":
send_new_user_password_reset_link(user)
add_to_contact_list(user=user, type="signup", source=source)
return user


Expand Down

0 comments on commit 333aded

Please sign in to comment.