Skip to content

Commit 7e5739d

Browse files
authored
Add IPv4/IPv6 validation messages
1 parent 1155245 commit 7e5739d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

resources/lang/en/validation.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@
4747
'in_array' => 'The :attribute field does not exist in :other.',
4848
'integer' => 'The :attribute must be an integer.',
4949
'ip' => 'The :attribute must be a valid IP address.',
50+
'ipv4' => 'The :attribute must be a valid IPv4 address.',
51+
'ipv6' => 'The :attribute must be a valid IPv6 address.',
5052
'json' => 'The :attribute must be a valid JSON string.',
5153
'max' => [
5254
'numeric' => 'The :attribute may not be greater than :max.',

0 commit comments

Comments
 (0)