X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/a79ab9ed186112056d7f60e41e8d0760c2cc13f5..740c909abbe97151f14768de9476505c1f06badd:/IkiWiki/Plugin/emailauth.pm diff --git a/IkiWiki/Plugin/emailauth.pm b/IkiWiki/Plugin/emailauth.pm index 44311400a..becf40ca5 100644 --- a/IkiWiki/Plugin/emailauth.pm +++ b/IkiWiki/Plugin/emailauth.pm @@ -95,7 +95,7 @@ sub email_auth ($$$$) { .">", Subject => "$config{wikiname} login | $shorturl", Message => $template->output, - ) or error(gettext("Failed to send mail")); + ) or error(sprintf(gettext("Failed to send mail: %s"), $Mail::Sendmail::error)); $infodisplayer->(gettext("You have been sent an email, with a link you can open to complete the login process.")); }