mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Some more fixes and tests.
This commit is contained in:
@@ -12,7 +12,7 @@ class EloquentUserRepository implements UserRepositoryInterface
|
||||
public function register($array)
|
||||
{
|
||||
$user = new \User;
|
||||
$user->email = $array['emai'];
|
||||
$user->email = isset($array['email']) ? $array['email'] : null;
|
||||
$user->migrated = 0;
|
||||
$user->verification = \Str::random(32);
|
||||
$user->password = \Hash::make(\Str::random(12));
|
||||
|
Reference in New Issue
Block a user