Commit e3c815c9 authored by Andrew Robert Nicols's avatar Andrew Robert Nicols Committed by Nigel McNie

Email wasn't included when creating new users

Signed-off-by: default avatarAndrew Robert Nicols <andrew.nicols@luns.net.uk>
parent 7654688d
......@@ -266,6 +266,7 @@ function adduser_submit(Pieform $form, $values) {
'username' => $values['username'],
'firstname' => ($values['firstname']) ? $values['firstname'] : 'Imported',
'lastname' => ($values['lastname']) ? $values['lastname'] : 'User',
'email' => $values['email'],
'password' => $values['password'],
'quota' => $values['quota'],
'passwordchange' => 1,
......
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