mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 23:54:44 +02:00
Small installer updates
This commit is contained in:
parent
476eccca53
commit
3ca77765e6
@ -16,11 +16,11 @@ class AdminUserStep
|
|||||||
->label('Admin E-Mail')
|
->label('Admin E-Mail')
|
||||||
->required()
|
->required()
|
||||||
->email()
|
->email()
|
||||||
->default('admin@example.com'),
|
->placeholder('admin@example.com'),
|
||||||
TextInput::make('user.username')
|
TextInput::make('user.username')
|
||||||
->label('Admin Username')
|
->label('Admin Username')
|
||||||
->required()
|
->required()
|
||||||
->default('admin'),
|
->placeholder('admin'),
|
||||||
TextInput::make('user.password')
|
TextInput::make('user.password')
|
||||||
->label('Admin Password')
|
->label('Admin Password')
|
||||||
->required()
|
->required()
|
||||||
|
@ -23,9 +23,9 @@ class EnvironmentStep
|
|||||||
];
|
];
|
||||||
|
|
||||||
public const QUEUE_DRIVERS = [
|
public const QUEUE_DRIVERS = [
|
||||||
|
'sync' => 'Sync',
|
||||||
'database' => 'Database',
|
'database' => 'Database',
|
||||||
'redis' => 'Redis',
|
'redis' => 'Redis',
|
||||||
'sync' => 'Synchronous',
|
|
||||||
];
|
];
|
||||||
|
|
||||||
public const DATABASE_DRIVERS = [
|
public const DATABASE_DRIVERS = [
|
||||||
@ -76,11 +76,11 @@ class EnvironmentStep
|
|||||||
ToggleButtons::make('env.QUEUE_CONNECTION')
|
ToggleButtons::make('env.QUEUE_CONNECTION')
|
||||||
->label('Queue Driver')
|
->label('Queue Driver')
|
||||||
->hintIcon('tabler-question-mark')
|
->hintIcon('tabler-question-mark')
|
||||||
->hintIconTooltip('The driver used for handling queues. We recommend "Database".')
|
->hintIconTooltip('The driver used for handling queues. We recommend "Sync" or "Database".')
|
||||||
->required()
|
->required()
|
||||||
->inline()
|
->inline()
|
||||||
->options(self::QUEUE_DRIVERS)
|
->options(self::QUEUE_DRIVERS)
|
||||||
->default(config('queue.default', 'database')),
|
->default(config('queue.default', 'sync')),
|
||||||
ToggleButtons::make('env.DB_CONNECTION')
|
ToggleButtons::make('env.DB_CONNECTION')
|
||||||
->label('Database Driver')
|
->label('Database Driver')
|
||||||
->hintIcon('tabler-question-mark')
|
->hintIcon('tabler-question-mark')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user