Skip to content

A free open source IT asset/license management system

Added validation on google client ID

snipe8bad72a80fa9
diff --git a/app/Models/Setting.php b/app/Models/Setting.php
index 807f6a962f..6c95d6b01e 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_client_id' => 'nullable|ends_with:apps.googleusercontent.com'
];
protected $fillable = [