Update UserController.php

This commit is contained in:
Julian Prieber 2022-11-10 16:51:56 +01:00
parent 564ee4d90b
commit ffdb0cff5d
1 changed files with 2 additions and 2 deletions

View File

@ -465,8 +465,8 @@ class UserController extends Controller
public function editPage(request $request) public function editPage(request $request)
{ {
$request->validate([ $request->validate([
'littlelink_name' => 'required|string|max:255|unique:users', 'littlelink_name' => 'string|max:255|unique:users',
'name' => 'required|string|max:255|unique:users', 'name' => 'string|max:255|unique:users',
]); ]);
$userId = Auth::user()->id; $userId = Auth::user()->id;