Implement newsletter double opt-in email flow and CSP nonce headers
This commit is contained in:
13
templates/newsletter/email/confirmation_body.html
Normal file
13
templates/newsletter/email/confirmation_body.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<body style="font-family: Arial, sans-serif; line-height: 1.5;">
|
||||
<p>Hi,</p>
|
||||
<p>Please confirm your newsletter subscription by clicking the button below:</p>
|
||||
<p>
|
||||
<a href="{{ confirmation_url }}" style="display:inline-block;padding:10px 14px;background:#111;color:#fff;text-decoration:none;">
|
||||
Confirm Subscription
|
||||
</a>
|
||||
</p>
|
||||
<p>If you did not request this, you can ignore this email.</p>
|
||||
</body>
|
||||
</html>
|
||||
7
templates/newsletter/email/confirmation_body.txt
Normal file
7
templates/newsletter/email/confirmation_body.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
Hi,
|
||||
|
||||
Please confirm your newsletter subscription by visiting this link:
|
||||
|
||||
{{ confirmation_url }}
|
||||
|
||||
If you did not request this, you can ignore this email.
|
||||
1
templates/newsletter/email/confirmation_subject.txt
Normal file
1
templates/newsletter/email/confirmation_subject.txt
Normal file
@@ -0,0 +1 @@
|
||||
Confirm your No Hype AI newsletter subscription
|
||||
Reference in New Issue
Block a user