mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-17 05:43:45 +02:00
Thats enough re-theming for the day...
This commit is contained in:
@@ -124,6 +124,12 @@ class UserController extends Controller
|
||||
|
||||
public function getJson(Request $request)
|
||||
{
|
||||
return User::select('email')->get()->pluck('email');
|
||||
return User::select('id', 'email', 'username', 'name_first', 'name_last')
|
||||
->search($request->input('q'))
|
||||
->get()->transform(function ($item) {
|
||||
$item->md5 = md5(strtolower($item->email));
|
||||
|
||||
return $item;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user