From af835d6efc2d86a715c10b7c006c460b8477ec65 Mon Sep 17 00:00:00 2001 From: snipe Date: Fri, 25 Aug 2017 17:59:01 -0700 Subject: [PATCH] Additional setting validation for new fields --- app/Models/Setting.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Models/Setting.php b/app/Models/Setting.php index 316114186a..326f436c7f 100755 --- a/app/Models/Setting.php +++ b/app/Models/Setting.php @@ -45,6 +45,8 @@ class Setting extends Model "ldap_version" => 'sometimes|required_if:ldap_enabled,1|nullable', "thumbnail_max_h" => 'numeric|max:500|min:25', "pwd_secure_min" => "numeric|required|min:5", + "audit_warning_days" => "numeric|nullable", + "audit_interval" => "numeric|nullable", ]; protected $fillable = ['site_name','email_domain','email_format','username_format'];