diff --git a/src/AuthCommand.php b/src/AuthCommand.php index 9498193..564bf94 100644 --- a/src/AuthCommand.php +++ b/src/AuthCommand.php @@ -118,7 +118,7 @@ protected function exportBackend() $controller = app_path('Http/Controllers/HomeController.php'); if (file_exists($controller) && ! $this->option('force')) { - if ($this->components->confirm("The [HomeController.php] file already exists. Do you want to replace it?")) { + if ($this->components->confirm("The [HomeController.php] file already exists. Do you want to replace it?", true)) { file_put_contents($controller, $this->compileStub('controllers/HomeController')); } } else { @@ -128,7 +128,7 @@ protected function exportBackend() $baseController = app_path('Http/Controllers/Controller.php'); if (file_exists($baseController) && ! $this->option('force')) { - if ($this->components->confirm("The [Controller.php] file already exists. Do you want to replace it?")) { + if ($this->components->confirm("The [Controller.php] file already exists. Do you want to replace it?", true)) { file_put_contents($baseController, $this->compileStub('controllers/Controller')); } } else {