do not send an email when user creates a new app

This commit is contained in:
Son NK 2020-02-12 18:33:39 +07:00
parent e3b28feaf0
commit 580dc6c8d6
1 changed files with 0 additions and 5 deletions

View File

@ -25,11 +25,6 @@ def new_client():
flash("Your app has been created", "success")
# if this is the first app user creates, sends an email to ask for feedback
if db.session.query(Client).filter_by(user_id=current_user.id).count() == 1:
LOG.d(f"send feedback email to user {current_user}")
email_utils.send_new_app_email(current_user.email, current_user.name)
return redirect(
url_for("developer.client_detail", client_id=client.id, is_new=1)
)