mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-04 15:32:35 +00:00
Fix isolated user validation (#450)
This commit is contained in:
@ -134,9 +134,9 @@ protected function getHeaderActions(): array
|
||||
// WordPress
|
||||
$this->wordpressFields(),
|
||||
TextInput::make('user')
|
||||
->label('Username')
|
||||
->hintIcon('heroicon-o-information-circle')
|
||||
->hintIconTooltip(
|
||||
->label('User')
|
||||
->placeholder('vito')
|
||||
->helperText(
|
||||
'Optional. If provided, a new user will be created and the site will be owned by this user.'
|
||||
)
|
||||
->rules(fn (Get $get) => CreateSite::rules($this->server, $get())['user']),
|
||||
|
Reference in New Issue
Block a user