diff --git a/src/Actions/EnableTwoFactorAuthentication.php b/src/Actions/EnableTwoFactorAuthentication.php index 69d4bfe..d64a40b 100644 --- a/src/Actions/EnableTwoFactorAuthentication.php +++ b/src/Actions/EnableTwoFactorAuthentication.php @@ -37,7 +37,6 @@ public function __construct(TwoFactorAuthenticationProvider $provider) public function __invoke($user, $force = false) { if (empty($user->two_factor_secret) || $force === true) { - $secretLength = (int) config('fortify-options.two-factor-authentication.secret-length', 16); $user->forceFill([