Skip to content

Commit

Permalink
Merge branch 'feature/add-missing-config' of github.com:vormkracht10/…
Browse files Browse the repository at this point in the history
…filament-two-factor-auth into feature/add-missing-config
  • Loading branch information
Baspa committed Aug 28, 2024
2 parents bc6b5cb + a9ad9e5 commit fa9c749
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions config/filament-two-factor-auth.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

use Vormkracht10\TwoFactorAuth\Pages\TwoFactor;
use Vormkracht10\TwoFactorAuth\Enums\TwoFactorType;
use Vormkracht10\TwoFactorAuth\Http\Livewire\Auth\Login;
use Vormkracht10\TwoFactorAuth\Http\Livewire\Auth\Register;
use Vormkracht10\TwoFactorAuth\Http\Livewire\Auth\PasswordReset;
use Vormkracht10\TwoFactorAuth\Http\Livewire\Auth\LoginTwoFactor;
use Vormkracht10\TwoFactorAuth\Http\Livewire\Auth\PasswordConfirmation;
use Vormkracht10\TwoFactorAuth\Http\Livewire\Auth\PasswordReset;
use Vormkracht10\TwoFactorAuth\Http\Livewire\Auth\Register;
use Vormkracht10\TwoFactorAuth\Http\Livewire\Auth\RequestPasswordReset;
use Vormkracht10\TwoFactorAuth\Pages\TwoFactor;

return [

Expand Down
4 changes: 2 additions & 2 deletions src/TwoFactorAuthPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Vormkracht10\TwoFactorAuth;

use Filament\Panel;
use Filament\Contracts\Plugin;
use Filament\Navigation\MenuItem;
use Filament\Panel;
use Vormkracht10\TwoFactorAuth\Pages\TwoFactor;

class TwoFactorAuthPlugin implements Plugin
Expand All @@ -29,7 +29,7 @@ public function register(Panel $panel): void
'two-factor-authentication' => MenuItem::make()
->icon('heroicon-o-lock-closed')
->label(__('Two-Factor Authentication'))
->url(fn(): string => TwoFactor::getUrl()),
->url(fn (): string => TwoFactor::getUrl()),
]);
}

Expand Down

0 comments on commit fa9c749

Please sign in to comment.