Some more fixes and tests.

This commit is contained in:
James Cole
2014-07-03 08:30:12 +02:00
parent ecbcfe362c
commit 614c556c96
4 changed files with 138 additions and 23 deletions

View File

@@ -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));