From c4a699f1097260ec6482e34219ba3e1b5f41006e Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 19 May 2016 19:43:05 -0700 Subject: [PATCH] Validation for new alert settings --- app/Models/Setting.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Models/Setting.php b/app/Models/Setting.php index 4d2dc9bbf4..1d2706229b 100755 --- a/app/Models/Setting.php +++ b/app/Models/Setting.php @@ -13,6 +13,8 @@ class Setting extends Model protected $rules = [ "site_name" => 'required|min:1', "brand" => 'required|min:1|numeric', + "alert_threshold" => 'numeric', + "alert_interval" => 'numeric', "qr_text" => 'min:1|max:31', "custom_css" => 'string', "slack_endpoint" => 'url',