Added $user->created_at to API user create method

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-12-12 12:26:02 +00:00
parent 068f64a78e
commit e894138fd4

View file

@ -353,6 +353,7 @@ class UsersController extends Controller
$user = new User;
$user->fill($request->all());
$user->created_by = Auth::user()->id;
if ($request->has('permissions')) {
$permissions_array = $request->input('permissions');