Commit 03995a1c authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Set email field in usr table on registration

parent 629bf590
...@@ -92,6 +92,7 @@ if (isset($key)) { ...@@ -92,6 +92,7 @@ if (isset($key)) {
$user->authinstance = $authinstance->id; $user->authinstance = $authinstance->id;
$user->firstname = $registration->firstname; $user->firstname = $registration->firstname;
$user->lastname = $registration->lastname; $user->lastname = $registration->lastname;
$user->email = $registration->email;
$user->commit(); $user->commit();
$registration->id = $user->id; $registration->id = $user->id;
......
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