diff --git a/app/config.py b/app/config.py index 5fdb7ab3..782f693d 100644 --- a/app/config.py +++ b/app/config.py @@ -357,6 +357,7 @@ ALERT_COMPLAINT_TRANSACTIONAL_PHASE = "alert_complaint_transactional_phase" ALERT_QUARANTINE_DMARC = "alert_quarantine_dmarc" ALERT_DUAL_SUBSCRIPTION_WITH_PARTNER = "alert_dual_sub_with_partner" +ALERT_WARN_MULTIPLE_SUBSCRIPTIONS = "alert_multiple_subscription" # <<<<< END ALERT EMAIL >>>> diff --git a/templates/emails/transactional/warn-multiple-registration.html b/templates/emails/transactional/warn-multiple-registration.html new file mode 100644 index 00000000..c3d6c2b1 --- /dev/null +++ b/templates/emails/transactional/warn-multiple-registration.html @@ -0,0 +1,17 @@ +{% extends "base.html" %} + +{% block content %} + + {% call text() %} + Hello, +{% endcall %} + +{% call text() %} +Your have tried to register multiple times to {{ service }}, and this is against the terms of service of SimpleLogin. Please don't do that anymore. +{% endcall %} + +{% call text() %} +If you continue registering multiple accounts to a single service we will have to disable your account. +{% endcall %} + +{% endblock %} diff --git a/templates/emails/transactional/warn-multiple-registration.txt.jinja2 b/templates/emails/transactional/warn-multiple-registration.txt.jinja2 new file mode 100644 index 00000000..b98117e4 --- /dev/null +++ b/templates/emails/transactional/warn-multiple-registration.txt.jinja2 @@ -0,0 +1,9 @@ +{% extends "base.txt.jinja2" %} + +{% block content %} +Hello, + +Your have tried to register multiple times to {{service}}, and this is against the terms of service of SimpleLogin. Please don't do that anymore. + +If you continue registering multiple accounts to a single service we will have to disable your account. +{% endblock %}