mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Cleaned up validation
This commit is contained in:
parent
d7e58a35bf
commit
292370b02f
|
@ -57,7 +57,6 @@ class Setting extends Model
|
|||
'labels_per_page' => 'numeric',
|
||||
'slack_channel' => 'regex:/^[\#\@]?\w+/|required_with:slack_endpoint|nullable',
|
||||
'slack_botname' => 'string|nullable',
|
||||
'labels_per_page' => 'numeric',
|
||||
'labels_width' => 'numeric',
|
||||
'labels_height' => 'numeric',
|
||||
'labels_pmargin_left' => 'numeric|nullable',
|
||||
|
@ -74,7 +73,7 @@ class Setting extends Model
|
|||
'login_remote_user_custom_logout_url' => 'string|nullable',
|
||||
'login_remote_user_header_name' => 'string|nullable',
|
||||
'thumbnail_max_h' => 'numeric|max:500|min:25',
|
||||
'pwd_secure_min' => 'numeric|required|min:5',
|
||||
'pwd_secure_min' => 'numeric|required|min:8',
|
||||
'audit_warning_days' => 'numeric|nullable',
|
||||
'audit_interval' => 'numeric|nullable',
|
||||
'custom_forgot_pass_url' => 'url|nullable',
|
||||
|
@ -311,6 +310,7 @@ class Setting extends Model
|
|||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Get the specific LDAP settings
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue