projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79f637a
)
adminemail may be undefined
author
Joey Hess
<joey@kodama.kitenet.net>
Sat, 26 Jul 2008 18:54:50 +0000
(14:54 -0400)
committer
Joey Hess
<joey@kodama.kitenet.net>
Sat, 26 Jul 2008 18:54:50 +0000
(14:54 -0400)
IkiWiki/Plugin/passwordauth.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/passwordauth.pm
b/IkiWiki/Plugin/passwordauth.pm
index e0e8e51df2141feff7fa1285e843e881cac55684..68aaf808f5c91249ceee266ccadd9745cb4f9123 100644
(file)
--- a/
IkiWiki/Plugin/passwordauth.pm
+++ b/
IkiWiki/Plugin/passwordauth.pm
@@
-279,7
+279,7
@@
sub formbuilder (@) { #{{{
error($@) if $@;
sendmail(
To => IkiWiki::userinfo_get($user_name, "email"),
- From => "$config{wikiname} admin <
$config{adminemail}
>",
+ From => "$config{wikiname} admin <
".(defined $config{adminemail} ? $config{adminemail} : "")
>",
Subject => "$config{wikiname} information",
Message => $template->output,
) or error(gettext("Failed to send mail"));