From: Joey Hess Date: Tue, 19 May 2015 21:38:15 +0000 (-0400) Subject: add url to subject of email X-Git-Tag: 3.20150610~57 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/73e32f7fa6851cadae2f2c3f5920cc36c1ad397f 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. --- 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"));