mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 14:23:44 +02:00
backup names don't actually matter all that much, they don't get used as file names
This commit is contained in:
@@ -65,7 +65,7 @@ class Backup extends Model
|
||||
public static $validationRules = [
|
||||
'server_id' => 'bail|required|numeric|exists:servers,id',
|
||||
'uuid' => 'required|uuid',
|
||||
'name' => 'required|string|regex:/^[w\][\w\s_.-]*[\w]$/',
|
||||
'name' => 'required|string',
|
||||
'ignored_files' => 'string',
|
||||
'disk' => 'required|string',
|
||||
'sha256_hash' => 'nullable|string',
|
||||
|
||||
Reference in New Issue
Block a user