mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 05:14:46 +02:00
32 lines
900 B
PHP
32 lines
900 B
PHP
<?php
|
|
|
|
namespace App\Filament\Pages\Installer\Steps;
|
|
|
|
use Filament\Forms\Components\TextInput;
|
|
use Filament\Forms\Components\Wizard\Step;
|
|
|
|
class AdminUserStep
|
|
{
|
|
public static function make(): Step
|
|
{
|
|
return Step::make('user')
|
|
->label('Admin User')
|
|
->schema([
|
|
TextInput::make('user.email')
|
|
->label('Admin E-Mail')
|
|
->required()
|
|
->email()
|
|
->placeholder('admin@example.com'),
|
|
TextInput::make('user.username')
|
|
->label('Admin Username')
|
|
->required()
|
|
->placeholder('admin'),
|
|
TextInput::make('user.password')
|
|
->label('Admin Password')
|
|
->required()
|
|
->password()
|
|
->revealable(),
|
|
]);
|
|
}
|
|
}
|