Skip to content

Commit

Permalink
Remove unused code (Fortify)
Browse files Browse the repository at this point in the history
  • Loading branch information
realodix committed May 8, 2024
1 parent 9f6cab1 commit c604993
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 94 deletions.
13 changes: 0 additions & 13 deletions app/Providers/FortifyServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ public function boot()
$this->loginAndRegister();
$this->register();
$this->password();
$this->twoFactor();

// Fortify::updateUserProfileInformationUsing(UpdateUserProfileInformation::class);
// Fortify::updateUserPasswordsUsing(UpdateUserPassword::class);
Expand Down Expand Up @@ -111,16 +110,4 @@ private function password()
return view('auth.confirm-password');
});
}

/**
* @codeCoverageIgnore
*
* @return void
*/
private function twoFactor()
{
Fortify::twoFactorChallengeView(function () {
return view('auth.two-factor-challenge');
});
}
}
6 changes: 3 additions & 3 deletions config/fortify.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
Features::registration(),
Features::resetPasswords(),
// Features::emailVerification(),
Features::updateProfileInformation(),
Features::updatePasswords(),
Features::twoFactorAuthentication(),
// Features::updateProfileInformation(),
// Features::updatePasswords(),
// Features::twoFactorAuthentication(),
],
];
47 changes: 0 additions & 47 deletions resources/views/auth/two-factor-challenge.blade.php

This file was deleted.

31 changes: 0 additions & 31 deletions resources/views/dashboard.blade.php

This file was deleted.

0 comments on commit c604993

Please sign in to comment.