register done

This commit is contained in:
annajwasz 2025-03-23 05:22:03 +07:00
parent 5662c1bb06
commit 54dc34b7b1
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,25 @@
<?php
namespace App\Filament\Pages\Auth;
use Filament\Pages\Auth\Register as BaseRegister;
class Register extends BaseRegister
{
// Kustomisasi form registrasi jika diperlukan
protected function getForms(): array
{
return [
'form' => $this->form(
$this->makeForm()
->schema([
$this->getNameFormComponent(),
$this->getEmailFormComponent(),
$this->getPasswordFormComponent(),
$this->getPasswordConfirmationFormComponent(),
])
->statePath('data'),
),
];
}
}

View File

@ -29,6 +29,7 @@ public function panel(Panel $panel): Panel
->id('admin')
->path('admin')
->login()
->registration()
// ->brandName('POLIJE')
->brandLogo(asset('images/logo-polije.png'))
->brandLogoHeight('3rem')