Added validation on google client ID
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
f3c977aa9d
commit
8bad72a80f
1 changed files with 1 additions and 0 deletions
|
@ -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 = [
|
||||||
|
|
Loading…
Add table
Reference in a new issue