aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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