projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3ed43a
)
record email of new users in userinfo for userlist
author
Joey Hess
<joey@kitenet.net>
Thu, 9 Jun 2011 14:58:05 +0000
(10:58 -0400)
committer
Joey Hess
<joey@kitenet.net>
Thu, 9 Jun 2011 14:58:05 +0000
(10:58 -0400)
IkiWiki/CGI.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/CGI.pm
b/IkiWiki/CGI.pm
index 6a04decb617571c9a8f6ea6e206663f177bd24de..62383b6fd22cf3ca6bed2dc3571f5cafb3c10715 100644
(file)
--- a/
IkiWiki/CGI.pm
+++ b/
IkiWiki/CGI.pm
@@
-429,7
+429,7
@@
sub cgi (;$$) {
# userinfo db.
if (! userinfo_get($session->param("name"), "regdate")) {
userinfo_setall($session->param("name"), {
- email => "",
+ email =>
defined $session->param("email") ? $session->param("email") :
"",
password => "",
regdate => time,
}) || error("failed adding user");