improve welcome email

This commit is contained in:
Son NK 2021-03-23 18:47:16 +01:00
parent 1492f29a1a
commit d59cee0bcc
4 changed files with 9 additions and 24 deletions

View File

@ -369,5 +369,3 @@ try:
COINBASE_YEARLY_PRICE = float(os.environ["COINBASE_YEARLY_PRICE"])
except Exception:
COINBASE_YEARLY_PRICE = 30.00
REDDIT_URL = "https://www.reddit.com/r/Simplelogin/"

View File

@ -39,7 +39,6 @@ from app.config import (
EMAIL_DOMAIN,
ALERT_DIRECTORY_DISABLED_ALIAS_CREATION,
TRANSACTIONAL_BOUNCE_EMAIL,
REDDIT_URL,
ALERT_SPF,
POSTFIX_PORT_FORWARD,
)
@ -90,8 +89,8 @@ def send_welcome_email(user):
send_email(
to_email,
f"Welcome to SimpleLogin",
render("com/welcome.txt", user=user, alias=alias, reddit_url=REDDIT_URL),
render("com/welcome.html", user=user, alias=alias, reddit_url=REDDIT_URL),
render("com/welcome.txt", user=user, alias=alias),
render("com/welcome.html", user=user, alias=alias),
unsubscribe_link,
via_email,
)

View File

@ -19,11 +19,6 @@
{% endcall %}
{% endif %}
{% call text() %}
To better secure your account, we recommend enabling Multi-Factor Authentication (MFA) or WebAuthn (Yubikey) on your
<a href="{{ URL + '/dashboard/setting/#totp' }}">Setting page</a>.
{% endcall %}
{% call text() %}
If you are using Firefox or a Chromium-browser like Chrome, Edge, Brave, you can
install our <a href="https://addons.mozilla.org/firefox/addon/simplelogin/">Firefox add-on</a>
@ -39,7 +34,7 @@
SimpleLogin is also available on
<a href="https://play.google.com/store/apps/details?id=io.simplelogin.android">Android</a> and
<a href="https://apps.apple.com/app/id1494359858">iOS</a>
so you can easily create new aliases on the go.
so you can manage your aliases on the go.
{% endcall %}
{% if user.in_trial() and user.trial_end %}
@ -53,14 +48,8 @@
{% endif %}
{% call text() %}
Feel free to join our Reddit to ask any question or to have updates about our latest features. <br>
If you don't have a Reddit account, this is an occasion to create a new alias 😉.
{% endcall %}
{{ render_button("Join SimpleLogin on Reddit", reddit_url) }}
{% call text() %}
SimpleLogin Team.
For any question, feedback or feature request, please join our <a href="https://github.com/simple-login/app/discussions">GitHub forum</a>.
You can also join our <a href="https://www.reddit.com/r/Simplelogin/">Reddit</a> or follow our <a href="https://twitter.com/simple_login">Twitter</a>.
{% endcall %}
{% endblock %}

View File

@ -24,9 +24,8 @@ without any limit during 7 days (the "trial period").
No worries: all aliases you create during this period will continue to work normally even if you don't upgrade.
{% endif %}
At any time, you can reach out to us by:
- Simply replying to this email
- On Twitter at https://twitter.com/simple_login
- On Reddit at https://www.reddit.com/r/Simplelogin/
At any time, you can reach out to us by simply replying to this email.
SimpleLogin Team.
For any question, feedback or feature request, please join our GitHub forum at https://github.com/simple-login/app/discussions
You can also join our Reddit at https://www.reddit.com/r/Simplelogin/ follow our Twitter at https://twitter.com/simple_login