Browse Source

#26 confirm email templates, made without serious testing

Brendan 4 years ago
parent
commit
e03f91348c

+ 2 - 0
glitchtip/settings.py

@@ -201,6 +201,8 @@ ANYMAIL = {
     "MAILGUN_SENDER_DOMAIN": env.str("MAILGUN_SENDER_DOMAIN", None),
 }
 
+ACCOUNT_EMAIL_SUBJECT_PREFIX = ""
+
 # Database
 # https://docs.djangoproject.com/en/dev/ref/settings/#databases
 

File diff suppressed because it is too large
+ 3 - 0
templates/account/email/email_confirmation_message.html


+ 13 - 0
templates/account/email/email_confirmation_message.txt

@@ -0,0 +1,13 @@
+{% load account %}{% user_display user as user_display %}{% load i18n %}{% autoescape off %}
+
+Add Email to GlitchTip Account
+
+{{ activate_url }}
+ 
+This email address will be connected to {{ user_display }}'s account when you click the link above.
+
+If you received this email in error, delete it. Your email address won't be added if you don't click the confirmation link.
+
+{% endautoescape %}
+
+

+ 4 - 0
templates/account/email/email_confirmation_subject.txt

@@ -0,0 +1,4 @@
+{% load i18n %}
+{% autoescape off %}
+{% blocktrans %}Please Confirm Your Email Address{% endblocktrans %}
+{% endautoescape %}

Some files were not shown because too many files changed in this diff