FEATURE #1386: catch CSRF token exception

This commit is contained in:
Michal Kváček
2016-01-28 16:00:31 +01:00
parent d9b678036a
commit 703adfcb78
2 changed files with 9 additions and 4 deletions
+3 -4
View File
@@ -29,6 +29,7 @@ return [
],
'boolean' => 'The :attribute field must be true or false.',
'confirmed' => 'The :attribute confirmation does not match.',
'csrf' => 'Opps! Seems you could not submit form for a longtime. Please try again',
'date' => 'The :attribute is not a valid date.',
'date_format' => 'The :attribute does not match the format :format.',
'different' => 'The :attribute and :other must be different.',
@@ -76,7 +77,6 @@ return [
'timezone' => 'The :attribute must be a valid zone.',
'unique' => 'The :attribute has already been taken.',
'url' => 'The :attribute format is invalid.',
/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
@@ -88,12 +88,11 @@ return [
|
*/
'custom' => [
'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
],
],
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
@@ -105,6 +104,6 @@ return [
|
*/
'attributes' => [],
'attributes' => [],
];