Merge pull request #14020 from snipe/bug/sc-24326

Added $user->created_at to API user create method
This commit is contained in:
snipe 2023-12-12 12:26:58 +00:00 committed by GitHub
commit 6bb842f52c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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');