mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 06:13:45 +02:00
Basic backend support to at least store a backup model in the DB
This commit is contained in:
@@ -21,7 +21,7 @@ class StoreBackupRequest extends ClientApiRequest
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
'name' => 'nullable|string|max:255',
|
||||
'name' => 'nullable|string|max:255|regex:/^[w\][\w\s_.-]*[\w]$/',
|
||||
'ignore' => 'nullable|string',
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user