chore: hapus halaman profile akun dari admin panel

This commit is contained in:
2026-04-05 09:06:31 +07:00
parent 3f42da1e5f
commit 006e4db3be
2 changed files with 1 additions and 29 deletions
-28
View File
@@ -1,28 +0,0 @@
<?php
namespace App\Filament\Pages;
use Filament\Forms\Components\TextInput;
use Filament\Schemas\Schema;
class EditProfile extends \Filament\Auth\Pages\EditProfile
{
public function form(Schema $schema): Schema
{
return $schema
->components([
$this->getNameFormComponent(),
$this->getEmailFormComponent(),
TextInput::make('phone')
->label('Nomor HP')
->tel()
->maxLength(20),
TextInput::make('address')
->label('Alamat')
->maxLength(255),
$this->getPasswordFormComponent(),
$this->getPasswordConfirmationFormComponent(),
$this->getCurrentPasswordFormComponent(),
]);
}
}
@@ -33,7 +33,7 @@ class AdminPanelProvider extends PanelProvider
->path('dashboard')
->viteTheme('resources/css/filament/admin/theme.css')
->login()
->profile(\App\Filament\Pages\EditProfile::class)
->profile(false)
->colors([
'primary' => Color::Amber,
])