Commit dd913b71 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add session attribute for the user local email address, so the

wikinoification will work without the user having to set his email
address each time.
parent ac224f78
......@@ -297,6 +297,9 @@ sub xLogin(@)
DBQueryFatal("replace into session_attribute set ".
" sid='$user', authenticated=1, name='name', ".
" value='$user'");
DBQueryFatal("replace into session_attribute set ".
" sid='$user', authenticated=1, name='email', ".
" value='$user'");
# Wow, what a HACK!
if ($wiki eq "protogeni") {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment