Skip to content

A free open source IT asset/license management system

Add validation and fillable fields

snipe054a2ab9d401
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',
];
/**