Fixed Integrity constraint violation: 19 UNIQUE

This commit is contained in:
Julian Prieber 2022-04-25 20:30:25 +02:00 committed by GitHub
parent d2bda28105
commit aadd01c4a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class RegisteredUserController extends Controller
public function store(Request $request) public function store(Request $request)
{ {
$request->validate([ $request->validate([
'name' => 'required|string|max:255', 'name' => 'required|string|max:255|unique:users',
'email' => 'required|string|email|max:255|unique:users', 'email' => 'required|string|email|max:255|unique:users',
'password' => 'required|string|confirmed|min:8', 'password' => 'required|string|confirmed|min:8',
]); ]);