Skip to content
Permalink
Browse files

When emailauth can't send, show the error message.

  • Loading branch information...
schmonz committed May 13, 2018
1 parent f329603 commit fb47d4a9d5466ab3c781b193e57f1ceb9b5e5bfa
Showing with 1 addition and 1 deletion.
  1. +1 −1 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."));
}

0 comments on commit fb47d4a

Please sign in to comment.
You can’t perform that action at this time.