Unverified Commit 78699bad authored by alexpott's avatar alexpott

Issue #2983591 by zuhair_ak, rattusrattus, martin_q, Eli-T, alexpott, John...

Issue #2983591 by zuhair_ak, rattusrattus, martin_q, Eli-T, alexpott, John Cook: Add example.com email addresses to users created during Umami install
parent 03b22009
......@@ -405,6 +405,7 @@ protected function getUser($name) {
$user = $user_storage->create([
'name' => $name,
'status' => 1,
'mail' => mb_strtolower(str_replace(' ', '.', $name)) . '@example.com',
]);
$user->enforceIsNew();
$user->save();
......
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