mirror of
https://github.com/simple-login/app.git
synced 2025-02-24 15:53:22 +08:00
do not send an email when user creates a new app
This commit is contained in:
parent
e3b28feaf0
commit
580dc6c8d6
1 changed files with 0 additions and 5 deletions
|
@ -25,11 +25,6 @@ def new_client():
|
||||||
|
|
||||||
flash("Your app has been created", "success")
|
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(
|
return redirect(
|
||||||
url_for("developer.client_detail", client_id=client.id, is_new=1)
|
url_for("developer.client_detail", client_id=client.id, is_new=1)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue