aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2015-05-13 21:15:08 -0400
committerJoey Hess <joeyh@joeyh.name>2015-05-13 21:15:08 -0400
commitf1d77f81933b4e4c38780a1934ac6daaaf0a9b80 (patch)
treebe3fd64e7867358669429c928e9f87be4ce71bf8
parent035c1a24499e3ba2c0301337160d63b69d9e5376 (diff)
downloadikiwiki-f1d77f81933b4e4c38780a1934ac6daaaf0a9b80.tar
ikiwiki-f1d77f81933b4e4c38780a1934ac6daaaf0a9b80.tar.gz
add emailauth.tmpl
-rw-r--r--doc/templates.mdwn5
-rw-r--r--templates/emailauth.tmpl11
2 files changed, 14 insertions, 2 deletions
diff --git a/doc/templates.mdwn b/doc/templates.mdwn
index 525b4f8fc..c45316e44 100644
--- a/doc/templates.mdwn
+++ b/doc/templates.mdwn
@@ -92,8 +92,9 @@ Here is a full list of the template files used:
* `editpage.tmpl`, `editconflict.tmpl`, `editcreationconflict.tmpl`,
`editfailedsave.tmpl`, `editpagegone.tmpl`, `pocreatepage.tmpl`,
`editcomment.tmpl` `commentmoderation.tmpl`, `renamesummary.tmpl`,
- `passwordmail.tmpl`, `login-selector.tmpl`, `revert.tmpl` - Parts of ikiwiki's user
- interface; do not normally need to be customised.
+ `passwordmail.tmpl`, `emailauth.tmpl, `login-selector.tmpl`,
+ `revert.tmpl` - Parts of ikiwiki's user interface; do not normally need
+ to be customised.
[[!meta robots="noindex, follow"]]
diff --git a/templates/emailauth.tmpl b/templates/emailauth.tmpl
new file mode 100644
index 000000000..51fbb40b7
--- /dev/null
+++ b/templates/emailauth.tmpl
@@ -0,0 +1,11 @@
+To log into <TMPL_VAR WIKINAME>, just open the following link:
+
+<TMPL_VAR AUTHURL>
+
+This link can only be used once to log in, and will expire in one day.
+
+If you were not trying to log into <TMPL_VAR WIKINAME>, please
+disregard this email.
+
+--
+ikiwiki