forceFill([ 'two_factor_recovery_codes' => encrypt(json_encode(Collection::times(8, function () { return RecoveryCode::generate(); })->all())), ])->save(); RecoveryCodesGenerated::dispatch($user); } }