Browse Source

Merge remote-tracking branch 'origin/master'

Taylor Otwell 8 years ago
parent
commit
a282304f35
2 changed files with 2 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Auth/AuthController.php
  2. 1 0
      resources/lang/en/validation.php

+ 1 - 1
app/Http/Controllers/Auth/AuthController.php

@@ -51,7 +51,7 @@ class AuthController extends Controller
         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',
         ]);
     }
 

+ 1 - 0
resources/lang/en/validation.php

@@ -40,6 +40,7 @@ return [
     '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.',