Update UserController.php
This commit is contained in:
parent
564ee4d90b
commit
ffdb0cff5d
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue