rewrite verification mail
This commit is contained in:
parent
315a3c6615
commit
7141d8dda1
|
@ -34,7 +34,7 @@ maintenance_file = "maintenance"
|
|||
|
||||
[production]
|
||||
base-URI = "https://keys.openpgp.org"
|
||||
from = "noreply@keys.openpgp.org"
|
||||
from = "keys.openpgp.org <noreply@keys.openpgp.org>"
|
||||
x-accel-redirect = true
|
||||
token_secret = "generated production secret"
|
||||
token_validity = 3600
|
||||
|
|
|
@ -2,33 +2,25 @@
|
|||
<html lang=en>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>Verify your address: {{userid}}</title>
|
||||
<title>Verify {{userid}} for your key on {{domain}}</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>
|
||||
Hi there,
|
||||
|
||||
someone, presumably you, has uploaded an OpenPGP key on
|
||||
<a href="{{base_uri}}">{{domain}}</a> for the address "{{userid}}".
|
||||
The key has the following fingerprint:
|
||||
</p>
|
||||
Hi,
|
||||
<p>
|
||||
<pre>{{primary_fp}}</pre>
|
||||
</p>
|
||||
this is an automated message from <a rel="nofollow" href="{{base_uri}}" style="text-decoration:none; color: #333"><tt>{{domain}}</tt></a>. If you didn't
|
||||
request this message, please ignore it.
|
||||
<p>
|
||||
If it was not you, or this is not your key, please ignore this
|
||||
email.
|
||||
</p>
|
||||
OpenPGP key: <tt>{{primary_fp}}</tt>
|
||||
<p>
|
||||
To allow others to find this OpenPGP key from your email address "{{userid}}",
|
||||
click the link below:
|
||||
</p>
|
||||
To let others find this key from your email address
|
||||
"<a rel="nofollow" href="#" style="text-decoration:none; color: #333">{{userid}}</a>",
|
||||
please click the link below:
|
||||
<p>
|
||||
<a href="{{uri}}">{{uri}}</a>
|
||||
</p>
|
||||
<p>
|
||||
You can find more info about the keys.openpgp.org keyserver at
|
||||
<a href="{{base_uri}}/about/help">{{base_uri}}/about/help</a>.
|
||||
</p>
|
||||
You can find more info at <a href="{{base_uri}}/about">{{domain}}/about</a>.
|
||||
<p>
|
||||
Greetings from the <a rel="nofollow" href="{{base_uri}}" style="text-decoration:none; color: #333"><tt>keys.openpgp.org</tt></a> team
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,18 +1,15 @@
|
|||
Hi there,
|
||||
Hi,
|
||||
|
||||
someone, presumably you, has uploaded an OpenPGP key on {{domain}} for the
|
||||
address "{{userid}}".
|
||||
this is an automated message from {{domain}}. If you didn't
|
||||
request this message, please ignore it.
|
||||
|
||||
The OpenPGP key has the following fingerprint:
|
||||
OpenPGP key: {{primary_fp}}
|
||||
|
||||
{{primary_fp}}
|
||||
|
||||
If it was not you, or this is not your key, please ignore this email.
|
||||
|
||||
To allow others to find this OpenPGP key from your email address "{{userid}}",
|
||||
click the link below:
|
||||
To let others find this key from your email address "{{userid}}",
|
||||
please click the link below:
|
||||
|
||||
{{uri}}
|
||||
|
||||
You can find more info about the keys.openpgp.org keyserver at
|
||||
{{base_uri}}/about/help
|
||||
You can find more info at {{base_uri}}/about
|
||||
|
||||
Greetings from the keys.openpgp.org team
|
||||
|
|
|
@ -84,7 +84,7 @@ impl Service {
|
|||
|
||||
self.send(
|
||||
&vec![userid],
|
||||
"Please verify your email address",
|
||||
&format!("Verify {} for your key on {}", userid, self.domain),
|
||||
"verify",
|
||||
ctx,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue