From 8bad72a80fa93cfd4698024549f57ccd0cd04f78 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 10 May 2023 02:40:45 -0700 Subject: [PATCH] Added validation on google client ID Signed-off-by: snipe --- app/Models/Setting.php | 1 + 1 file changed, 1 insertion(+) 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 = [