]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
add emailauth.tmpl
authorJoey Hess <joeyh@joeyh.name>
Thu, 14 May 2015 01:15:08 +0000 (21:15 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 14 May 2015 01:15:08 +0000 (21:15 -0400)
doc/templates.mdwn
templates/emailauth.tmpl [new file with mode: 0644]

index 525b4f8fca6c3cbf79ecadcf097597d4f5dd0027..c45316e44907cc1758c886eab574399fd768a707 100644 (file)
@@ -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 (file)
index 0000000..51fbb40
--- /dev/null
@@ -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