From 7ff917aa203b2f0869761c99283d18b6a2eb6cf8 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Fri, 18 May 2018 14:52:24 +0200 Subject: [PATCH] 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. --- resources/lang/en/validation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lang/en/validation.php b/resources/lang/en/validation.php index 0d47547aa9b..b163c4240e4 100644 --- a/resources/lang/en/validation.php +++ b/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.',