Skip to content

Commit 7ff917a

Browse files
authored
Fix alpha_dash
It also accepts underscores as valid signs as explicitly stated in the docs and source code so I believe it would be best to also add it to the validation message.
1 parent aefda0c commit 7ff917a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/lang/en/validation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
'after' => 'The :attribute must be a date after :date.',
1919
'after_or_equal' => 'The :attribute must be a date after or equal to :date.',
2020
'alpha' => 'The :attribute may only contain letters.',
21-
'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.',
21+
'alpha_dash' => 'The :attribute may only contain letters, numbers, dashes and underscores.',
2222
'alpha_num' => 'The :attribute may only contain letters and numbers.',
2323
'array' => 'The :attribute must be an array.',
2424
'before' => 'The :attribute must be a date before :date.',

0 commit comments

Comments
 (0)