From e464182760dfae06f68347f3f56ec4baec6e0c60 Mon Sep 17 00:00:00 2001 From: Philo Hermans Date: Fri, 19 Mar 2021 15:53:34 +0100 Subject: [PATCH] Add prohibited validation rule (#5569) --- resources/lang/en/validation.php | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/lang/en/validation.php b/resources/lang/en/validation.php index 0f861e32..49e3388b 100644 --- a/resources/lang/en/validation.php +++ b/resources/lang/en/validation.php @@ -104,6 +104,7 @@ 'required_with_all' => 'The :attribute field is required when :values are present.', 'required_without' => 'The :attribute field is required when :values is not present.', 'required_without_all' => 'The :attribute field is required when none of :values are present.', + 'prohibited' => 'The :attribute field is prohibited.', 'prohibited_if' => 'The :attribute field is prohibited when :other is :value.', 'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.', 'same' => 'The :attribute and :other must match.',