@@ -18,7 +18,7 @@ |
||
| 18 | 18 | factory(App\User::class)->create([ |
| 19 | 19 | "name" => env('ADMIN_USER', "$USER_NAME$"), |
| 20 | 20 | "email" => env('ADMIN_EMAIL', "$USER_EMAIL"), |
| 21 | - "password" => bcrypt(env('ADMIN_PWD', '123456'))] |
|
| 21 | + "password" => bcrypt(env('ADMIN_PWD', '123456')) ] |
|
| 22 | 22 | ); |
| 23 | 23 | } catch (\Illuminate\Database\QueryException $exception) { |
| 24 | 24 | } |
@@ -29,8 +29,8 @@ discard block |
||
| 29 | 29 | public function handle() |
| 30 | 30 | { |
| 31 | 31 | $this->create_admin_user(); |
| 32 | - $this->info('User ' . $this->username() . '(' . $this->email() . ') ' . |
|
| 33 | - $this->passwordInfo() . ' created succesfully!'); |
|
| 32 | + $this->info('User '.$this->username().'('.$this->email().') '. |
|
| 33 | + $this->passwordInfo().' created succesfully!'); |
|
| 34 | 34 | $this->call('make:adminUserSeeder'); |
| 35 | 35 | $this->info('A database seed has been created to permanently add admin user to database.'); |
| 36 | 36 | } |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | factory(get_class(app('App\User')))->create([ |
| 45 | 45 | "name" => env('ADMIN_USER', $this->username()), |
| 46 | 46 | "email" => env('ADMIN_EMAIL', $this->email()), |
| 47 | - "password" => bcrypt(env('ADMIN_PWD', '123456'))] |
|
| 47 | + "password" => bcrypt(env('ADMIN_PWD', '123456')) ] |
|
| 48 | 48 | ); |
| 49 | 49 | } catch (\Illuminate\Database\QueryException $exception) { |
| 50 | 50 | } |