From 72f30a40a39cda421de8b7c89c754a8ea5d2cae6 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 9 Jun 2011 10:58:05 -0400 Subject: [PATCH] record email of new users in userinfo for userlist --- IkiWiki/CGI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm index 6a04decb6..62383b6fd 100644 --- 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"); -- 2.26.2