Skip to content
Snippets Groups Projects
Commit f25e4033 authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

if faculty/staff member, we'll auto-fill email field during the registration step

parent ebdce45a
Branches
Tags
No related merge requests found
......@@ -324,8 +324,11 @@
$email = $_REQUEST['email'];
}
else
{
forward($CONFIG->url . 'mod/cas_auth/views/default/account/getemail.php');
{
if($pf_user_info->mail)
forward($CONFIG->url . 'mod/cas_auth/views/default/account/getemail.php?e=' . $pf_user_info->mail);
else
forward($CONFIG->url . 'mod/cas_auth/views/default/account/getemail.php');
}
/* if ($user_guid = register_user($username, 'generic', $name, $email, false, 0, '', true))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment