mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-17 20:41:00 +01:00
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…
x
Reference in New Issue
Block a user