Merge remote-tracking branch 'origin/master'

This commit is contained in:
Taylor Otwell 2016-03-06 19:56:40 -06:00
commit a282304f35
2 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,7 @@ protected function validator(array $data)
return Validator::make($data, [
'name' => 'required|max:255',
'email' => 'required|email|max:255|unique:users',
'password' => 'required|confirmed|min:6',
'password' => 'required|min:6|confirmed',
]);
}

View File

@ -40,6 +40,7 @@
'filled' => 'The :attribute field is required.',
'image' => 'The :attribute must be an image.',
'in' => 'The selected :attribute is invalid.',
'in_array' => 'The :attribute field does not exist in :other.',
'integer' => 'The :attribute must be an integer.',
'ip' => 'The :attribute must be a valid IP address.',
'json' => 'The :attribute must be a valid JSON string.',