Added validation on google client ID

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-05-10 02:40:45 -07:00
parent f3c977aa9d
commit 8bad72a80f

View file

@ -76,6 +76,7 @@ class Setting extends Model
'audit_interval' => 'numeric|nullable', 'audit_interval' => 'numeric|nullable',
'custom_forgot_pass_url' => 'url|nullable', 'custom_forgot_pass_url' => 'url|nullable',
'privacy_policy_link' => 'nullable|url', 'privacy_policy_link' => 'nullable|url',
'google_client_id' => 'nullable|ends_with:apps.googleusercontent.com'
]; ];
protected $fillable = [ protected $fillable = [