src/Console/AdminLTEAdmin.php
protected function createAdminUser()
    {
        try {
            factory(get_class(app('App\User')))->create([
                    "name" => env('ADMIN_USER', $this->username()),
                    "email" => env('ADMIN_EMAIL', $this->email()),
                    "password" => bcrypt(env('ADMIN_PWD', '123456'))]);
        } catch (\Illuminate\Database\QueryException $exception) {
        }
    }
protected function createAdminUser()
    {
        try {
            factory(get_class(app('App\User')))->create([
                    "name" => env('ADMIN_USER', $this->username()),
                    "email" => env('ADMIN_EMAIL', $this->email()),
                    "password" => bcrypt(env('ADMIN_PWD', '123456'))]);
        } catch (\Illuminate\Database\QueryException $exception) {
        }
    }
protected function createAdminUser ( ) { try { factory ( get_class ( app ( 'App\User' ) ) ) -> create ( [ "name" => env ( 'ADMIN_USER' , $ this -> username ( ) ) , "email" => env ( 'ADMIN_EMAIL' , $ this -> email ( ) ) , "password" => bcrypt ( env ( 'ADMIN_PWD' , '123456' ) ) ] ) ; } catch ( \ Illuminate \ Database \ QueryException $ exception ) { } }
Create admin user.
Create admin user .