From 054a2ab9d401f8efd3e111237a34b6b1671a644f Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 10 May 2023 00:34:31 -0700 Subject: [PATCH] Add validation and fillable fields Signed-off-by: snipe --- app/Models/Setting.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Models/Setting.php b/app/Models/Setting.php index 61be790e00..775ada58fd 100755 --- a/app/Models/Setting.php +++ b/app/Models/Setting.php @@ -76,6 +76,7 @@ class Setting extends Model 'audit_interval' => 'numeric|nullable', 'custom_forgot_pass_url' => 'url|nullable', 'privacy_policy_link' => 'nullable|url', + 'google_redirect' => 'nullable|url', ]; protected $fillable = [ @@ -86,6 +87,10 @@ class Setting extends Model 'webhook_endpoint', 'webhook_channel', 'webhook_botname', + 'google_login', + 'google_client_id', + 'google_client_secret', + 'google_redirect', ]; /**