From 258d64a84bdb5ed69582ed3491980ce84bbf8250 Mon Sep 17 00:00:00 2001 From: Ned Zimmerman Date: Fri, 8 Nov 2024 11:11:10 -0400 Subject: [PATCH] fix: remove unneeded code --- src/Commands/HearthCommand.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/Commands/HearthCommand.php b/src/Commands/HearthCommand.php index e0bfbf7d..d63f958b 100644 --- a/src/Commands/HearthCommand.php +++ b/src/Commands/HearthCommand.php @@ -123,15 +123,6 @@ public function handle() ); } - // Enable two-factor authentication - if ($this->option('two-factor')) { - $this->replaceInFile( - "// Features::twoFactorAuthentication([ 'confirmPassword' => true ]),", - "Features::twoFactorAuthentication([ 'confirmPassword' => true ]),", - config_path('fortify.php') - ); - } - $this->line(''); $this->info('Hearth scaffolding installed successfully.'); $this->comment('Please execute "npm install" to install and build your assets.');