mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-13 20:03:45 +02:00
fix misnamed variable, close #377
This commit is contained in:
@@ -143,7 +143,7 @@ class UserController extends Controller
|
||||
{
|
||||
try {
|
||||
$repo = new UserRepository;
|
||||
$user = $repo->update($user, $request->intersect([
|
||||
$user = $repo->update($id, $request->intersect([
|
||||
'email', 'password', 'name_first',
|
||||
'name_last', 'username', 'root_admin',
|
||||
]));
|
||||
|
||||
Reference in New Issue
Block a user