Skip to content

Commit

Permalink
Integrate EditProfile into AdminPanelProvider
Browse files Browse the repository at this point in the history
The 'profile()' method in the AdminPanelProvider has been altered to use the EditProfile class. This change configures the admin panel's user profile editing capability to work with the custom structure and validation rules defined in EditProfile.
  • Loading branch information
marco-introini committed Dec 25, 2023
1 parent 78f9a55 commit 8ea9ee1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Providers/Filament/AdminPanelProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace App\Providers\Filament;

use App\Filament\Admin\Pages\Auth\EditProfile;
use Filament\Http\Middleware\Authenticate;
use Filament\Http\Middleware\DisableBladeIconComponents;
use Filament\Http\Middleware\DispatchServingFilamentEvent;
Expand Down Expand Up @@ -31,7 +32,7 @@ public function panel(Panel $panel): Panel
->registration()
->emailVerification()
->passwordReset()
->profile()
->profile(EditProfile::class)
->brandName("Look My Pics - Admin Area")
->colors([
'primary' => Color::Violet,
Expand Down

0 comments on commit 8ea9ee1

Please sign in to comment.