aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2015-05-19 17:38:15 -0400
committerJoey Hess <joeyh@joeyh.name>2015-05-19 17:38:15 -0400
commit73e32f7fa6851cadae2f2c3f5920cc36c1ad397f (patch)
tree71d0e8adccf22afe1278163fe4054ed38a0e7048 /IkiWiki/Plugin
parent84efd3e00ff91cd486c15b4291abe400e61afd7b (diff)
downloadikiwiki-73e32f7fa6851cadae2f2c3f5920cc36c1ad397f.tar
ikiwiki-73e32f7fa6851cadae2f2c3f5920cc36c1ad397f.tar.gz
add url to subject of email
The wikiname can be pretty un-helpful, the user will probably regognise the url since they were just at it.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/emailauth.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/emailauth.pm b/IkiWiki/Plugin/emailauth.pm
index aa067238f..5e74ce8f6 100644
--- a/IkiWiki/Plugin/emailauth.pm
+++ b/IkiWiki/Plugin/emailauth.pm
@@ -83,7 +83,7 @@ sub email_auth ($$$$) {
From => "$config{wikiname} admin <".
(defined $config{adminemail} ? $config{adminemail} : "")
.">",
- Subject => "$config{wikiname} login",
+ Subject => "$config{wikiname} ( ".$config{url}." ) login",
Message => $template->output,
) or error(gettext("Failed to send mail"));