Skip to content

Commit 0da3df2

Browse files
committed
Merge pull request laravel#3682 from jadjoubran/patch-1
Fixed order of password validation in registration
2 parents f748799 + 590593e commit 0da3df2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/Auth/AuthController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ protected function validator(array $data)
5151
return Validator::make($data, [
5252
'name' => 'required|max:255',
5353
'email' => 'required|email|max:255|unique:users',
54-
'password' => 'required|confirmed|min:6',
54+
'password' => 'required|min:6|confirmed',
5555
]);
5656
}
5757

0 commit comments

Comments
 (0)