This commit is contained in:
phecho 2016-01-05 23:51:16 +08:00
parent 30c1653862
commit 23ac8071bc
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ class SignupUserCommandHandler
'username' => $command->username,
'password' => $command->password,
'email' => $command->email,
'level' => 2,
'level' => User::LEVEL_USER,
]);
event(new UserWasAddedEvent($user));

View File

@ -317,7 +317,7 @@ class DemoSeederCommand extends Command
'username' => 'test',
'password' => 'test123',
'email' => 'test@test.com',
'level' => 1,
'level' => User::LEVEL_ADMIN,
'api_key' => '9yMHsdioQosnyVK4iCVR',
],
];