Skip to content

Commit

Permalink
Merge branch '47-bug-attempt-to-read-property-value-on-null-error' of…
Browse files Browse the repository at this point in the history
… github.com:vormkracht10/filament-two-factor-auth into 47-bug-attempt-to-read-property-value-on-null-error
  • Loading branch information
Baspa committed Oct 4, 2024
2 parents 38f52c6 + 4543590 commit 195d371
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions src/TwoFactorAuthServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,36 @@

namespace Vormkracht10\TwoFactorAuth;

use Livewire\Livewire;
use Illuminate\Support\Str;
use Illuminate\Http\Request;
use Laravel\Fortify\Fortify;
use Laravel\Fortify\Features;
use Filament\Support\Assets\Js;
use Filament\Support\Assets\Css;
use Filament\Support\Assets\AlpineComponent;
use Filament\Support\Assets\Asset;
use Illuminate\Support\Facades\DB;
use Filament\Support\Assets\Css;
use Filament\Support\Assets\Js;
use Filament\Support\Facades\FilamentAsset;
use Filament\Support\Facades\FilamentIcon;
use Illuminate\Cache\RateLimiting\Limit;
use Illuminate\Filesystem\Filesystem;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\RateLimiter;
use Illuminate\Support\Facades\Redirect;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\Facades\Schema;
use Spatie\LaravelPackageTools\Package;
use Illuminate\Cache\RateLimiting\Limit;
use Illuminate\Support\Facades\Redirect;
use Filament\Support\Facades\FilamentIcon;
use Filament\Support\Facades\FilamentAsset;
use Illuminate\Support\Facades\RateLimiter;
use Filament\Support\Assets\AlpineComponent;
use Illuminate\Support\Str;
use Laravel\Fortify\Contracts\LoginResponse as LoginResponseContract;
use Laravel\Fortify\Contracts\TwoFactorLoginResponse as TwoFactorLoginResponseContract;
use Laravel\Fortify\Features;
use Laravel\Fortify\Fortify;
use Livewire\Features\SupportTesting\Testable;
use Vormkracht10\TwoFactorAuth\Enums\TwoFactorType;
use Spatie\LaravelPackageTools\PackageServiceProvider;
use Livewire\Livewire;
use Spatie\LaravelPackageTools\Commands\InstallCommand;
use Vormkracht10\TwoFactorAuth\Testing\TestsTwoFactorAuth;
use Vormkracht10\TwoFactorAuth\Http\Responses\LoginResponse;
use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;
use Vormkracht10\TwoFactorAuth\Commands\TwoFactorAuthCommand;
use Laravel\Fortify\Contracts\LoginResponse as LoginResponseContract;
use Vormkracht10\TwoFactorAuth\Http\Responses\TwoFactorLoginResponse;
use Vormkracht10\TwoFactorAuth\Enums\TwoFactorType;
use Vormkracht10\TwoFactorAuth\Http\Responses\LoginResponse;
use Vormkracht10\TwoFactorAuth\Http\Responses\TwoFactorChallengeViewResponse;
use Laravel\Fortify\Contracts\TwoFactorLoginResponse as TwoFactorLoginResponseContract;
use Vormkracht10\TwoFactorAuth\Http\Responses\TwoFactorLoginResponse;
use Vormkracht10\TwoFactorAuth\Testing\TestsTwoFactorAuth;

class TwoFactorAuthServiceProvider extends PackageServiceProvider
{
Expand Down Expand Up @@ -172,7 +172,7 @@ public function packageBooted(): void
* This route name is used multiple places in filament.
*/
Route::prefix(config('filament.path'))->group(function () {
Route::get('/filament-login', fn() => Redirect::route('login'))
Route::get('/filament-login', fn () => Redirect::route('login'))
->name('auth.login');
});
});
Expand Down Expand Up @@ -318,4 +318,4 @@ protected function getMigrations(): array
'add_two_factor_type_column_to_users_table',
];
}
}
}

0 comments on commit 195d371

Please sign in to comment.