]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
add url to subject of email
authorJoey Hess <joeyh@joeyh.name>
Tue, 19 May 2015 21:38:15 +0000 (17:38 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 19 May 2015 21:38:15 +0000 (17:38 -0400)
The wikiname can be pretty un-helpful, the user will probably regognise the
url since they were just at it.

IkiWiki/Plugin/emailauth.pm

index aa067238fb77e81cbcf3ab1f7eab5b39fc9de7c6..5e74ce8f60c9b90768fbb44aa29e2ae9c327d637 100644 (file)
@@ -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"));