Browse files

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.
  • Loading branch information...
driesvints committed May 18, 2018
1 parent aefda0c commit 7ff917aa203b2f0869761c99283d18b6a2eb6cf8
Showing with 1 addition and 1 deletion.
  1. +1 −1 resources/lang/en/validation.php
@@ -18,7 +18,7 @@
'after' => 'The :attribute must be a date after :date.',
'after_or_equal' => 'The :attribute must be a date after or equal to :date.',
'alpha' => 'The :attribute may only contain letters.',
'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.',
'alpha_dash' => 'The :attribute may only contain letters, numbers, dashes and underscores.',
'alpha_num' => 'The :attribute may only contain letters and numbers.',
'array' => 'The :attribute must be an array.',
'before' => 'The :attribute must be a date before :date.',

0 comments on commit 7ff917a

Please sign in to comment.